diff options
| author | Wei Yongjun <[email protected]> | 2020-05-06 13:47:35 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2020-05-13 12:00:20 +0000 |
| commit | b17884ccf29e127b16bba6aea1438c851c9f5af1 (patch) | |
| tree | 5fc209f53dcb0c262641b7ac8e7d1d7df62b95af /tools/perf/scripts/python/netdev-times.py | |
| parent | Linux 5.7-rc5 (diff) | |
| download | kernel-b17884ccf29e127b16bba6aea1438c851c9f5af1.tar.gz kernel-b17884ccf29e127b16bba6aea1438c851c9f5af1.zip | |
staging: kpc2000: fix error return code in kp2000_pcie_probe()
Fix to return a negative error code from the error handling
case instead of 0, as done elsewhere in this function. Also
removed var 'rv' since we can use 'err' instead.
Fixes: 7dc7967fc39a ("staging: kpc2000: add initial set of Daktronics drivers")
Signed-off-by: Wei Yongjun <[email protected]>
Cc: stable <[email protected]>
Reviewed-by: Dan Carpenter <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions
