aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/can/usb/usb_8dev.c
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2021-07-29 14:12:46 +0000
committerMarc Kleine-Budde <[email protected]>2021-07-30 06:45:03 +0000
commitf6b3c7848e66e9046c8a79a5b88fd03461cc252b (patch)
tree1af3e7913b1551225add44bed851b59a395b4ad8 /drivers/net/can/usb/usb_8dev.c
parentMAINTAINERS: add Yasushi SHOJI as reviewer for the Microchip CAN BUS Analyzer... (diff)
downloadkernel-f6b3c7848e66e9046c8a79a5b88fd03461cc252b.tar.gz
kernel-f6b3c7848e66e9046c8a79a5b88fd03461cc252b.zip
can: hi311x: fix a signedness bug in hi3110_cmd()
The hi3110_cmd() is supposed to return zero on success and negative error codes on failure, but it was accidentally declared as a u8 when it needs to be an int type. Fixes: 57e83fb9b746 ("can: hi311x: Add Holt HI-311x CAN driver") Link: https://lore.kernel.org/r/20210729141246.GA1267@kili Signed-off-by: Dan Carpenter <[email protected]> Signed-off-by: Marc Kleine-Budde <[email protected]>
Diffstat (limited to 'drivers/net/can/usb/usb_8dev.c')
0 files changed, 0 insertions, 0 deletions