aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/wwan/iosm/iosm_ipc_protocol_ops.c
diff options
context:
space:
mode:
authorPetko Manolov <petkan@nucleusys.com>2021-08-03 20:25:23 +0300
committerDavid S. Miller <davem@davemloft.net>2021-08-04 10:38:42 +0100
commit8a160e2e9aeb8318159b48701ad8a6e22274372d (patch)
treedf29ad67b7cfd4badd232dea48f906c8fc0c7f27 /drivers/net/wwan/iosm/iosm_ipc_protocol_ops.c
parent13a9c4ac319a23c792e2e03ac73777b6710132c3 (diff)
net: usb: pegasus: Check the return value of get_geristers() and friends;
Certain call sites of get_geristers() did not do proper error handling. This could be a problem as get_geristers() typically return the data via pointer to a buffer. If an error occurred the code is carelessly manipulating the wrong data. Signed-off-by: Petko Manolov <petkan@nucleusys.com> Reviewed-by: Pavel Skripkin <paskripkin@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/wwan/iosm/iosm_ipc_protocol_ops.c')
0 files changed, 0 insertions, 0 deletions