linux-stable/drivers/net/can/spi
Dan Carpenter f6b3c7848e 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: 57e83fb9b7 ("can: hi311x: Add Holt HI-311x CAN driver")
Link: https://lore.kernel.org/r/20210729141246.GA1267@kili
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2021-07-30 08:45:03 +02:00
..
mcp251xfd can: mcp251xfd: mcp251xfd_irq(): stop timestamping worker in case error in IRQ 2021-07-24 19:02:32 +02:00
hi311x.c can: hi311x: fix a signedness bug in hi3110_cmd() 2021-07-30 08:45:03 +02:00
Kconfig can: mcp251xfd: rename driver files and subdir to mcp251xfd 2020-09-30 21:54:30 +02:00
Makefile can: mcp251xfd: rename driver files and subdir to mcp251xfd 2020-09-30 21:54:30 +02:00
mcp251x.c can: mcp251x: mcp251x_can_probe(): silence clang warning 2021-05-27 09:42:22 +02:00