diff options
author | Petko Manolov <petkan@nucleusys.com> | 2021-08-03 20:25:23 +0300 |
---|---|---|
committer | Sasha Levin <sashal@kernel.org> | 2021-08-26 15:35:38 +0300 |
commit | 735e613fa587bb18386f68724bf036dcdcfaff2c (patch) | |
tree | aae2ab4767ea67a55aab93862462798a599c1640 /include | |
parent | 6b368411bc0fe60b41b7ce8dbc4fd1f828e9c056 (diff) | |
download | linux-735e613fa587bb18386f68724bf036dcdcfaff2c.tar.xz |
net: usb: pegasus: Check the return value of get_geristers() and friends;
[ Upstream commit 8a160e2e9aeb8318159b48701ad8a6e22274372d ]
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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions