Dan Carpenter
af3493a59f
can: hi311x: fix a signedness bug in hi3110_cmd()
...
[ Upstream commit f6b3c7848e66e9046c8a79a5b88fd03461cc252b ]
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 <dan.carpenter@oracle.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-08-04 12:22:17 +02:00
..
2021-07-20 16:17:53 +02:00
2021-03-03 18:22:46 +01:00
2020-10-29 09:06:59 +01:00
2021-07-20 16:17:46 +02:00
2021-07-20 16:17:44 +02:00
2021-03-03 18:22:46 +01:00
2021-03-24 11:04:55 +01:00
2021-07-20 16:17:53 +02:00
2021-07-20 16:17:45 +02:00
2021-05-22 10:57:28 +02:00
2021-05-26 11:47:00 +02:00
2021-07-20 16:17:53 +02:00
2021-07-20 16:17:43 +02:00
2021-03-03 18:22:45 +01:00
2021-03-03 18:22:38 +01:00
2021-07-20 16:17:35 +02:00
2021-06-30 08:48:54 -04:00
2021-07-28 11:12:16 +02:00
2020-12-29 13:47:06 +01:00
2021-07-20 16:17:41 +02:00
2021-04-07 12:47:03 +02:00
2021-07-20 16:17:47 +02:00
2021-07-20 16:17:50 +02:00
2021-07-28 11:12:20 +02:00
2021-07-20 16:17:34 +02:00
2021-05-22 10:57:31 +02:00
2021-07-20 16:17:33 +02:00
2021-07-20 16:17:35 +02:00
2021-07-20 16:17:51 +02:00
2021-07-20 16:17:51 +02:00
2021-01-12 20:09:05 +01:00
2021-07-28 11:12:20 +02:00
2021-07-20 16:17:45 +02:00
2021-07-20 16:17:40 +02:00
2021-06-03 08:36:12 +02:00
2021-07-20 16:17:47 +02:00
2021-01-30 13:31:13 +01:00
2021-07-20 16:17:42 +02:00
2021-07-20 16:17:41 +02:00
2020-10-29 09:07:11 +01:00
2021-07-20 16:17:47 +02:00
2021-07-28 11:12:19 +02:00
2021-07-20 16:17:55 +02:00
2020-12-29 13:46:58 +01:00
2020-11-05 11:06:59 +01:00
2021-07-20 16:17:49 +02:00
2021-07-20 16:17:48 +02:00
2021-07-20 16:17:46 +02:00
2021-05-22 10:57:28 +02:00
2021-08-04 12:22:17 +02:00
2021-08-04 12:22:16 +02:00
2020-10-29 09:07:14 +01:00
2021-03-03 18:22:54 +01:00
2021-06-30 08:48:47 -04:00
2021-07-20 16:17:40 +02:00
2021-07-20 16:17:53 +02:00
2021-05-22 10:57:17 +02:00
2021-07-20 16:17:41 +02:00
2021-07-20 16:17:46 +02:00
2021-07-20 16:17:33 +02:00
2021-07-20 16:17:53 +02:00
2020-11-10 21:10:28 +01:00
2020-12-29 13:47:02 +01:00
2021-07-20 16:17:52 +02:00
2021-05-26 11:46:59 +02:00
2021-07-20 16:17:32 +02:00
2021-02-23 14:00:29 +01:00
2021-07-28 11:12:14 +02:00
2021-05-22 10:57:38 +02:00
2021-07-28 11:12:15 +02:00
2021-07-20 16:17:50 +02:00
2021-07-28 11:12:18 +02:00
2021-05-22 10:57:29 +02:00
2021-07-28 11:12:20 +02:00
2021-07-20 16:17:30 +02:00
2021-07-20 16:17:51 +02:00
2021-07-28 11:12:18 +02:00
2021-05-22 10:57:16 +02:00
2021-07-28 11:12:15 +02:00
2021-06-03 08:36:15 +02:00
2021-07-20 16:17:49 +02:00
2020-11-18 18:27:58 +01:00
2021-07-28 11:12:20 +02:00
2021-06-10 12:43:50 +02:00
2021-04-07 12:47:01 +02:00
2021-07-20 16:17:51 +02:00
2020-10-29 09:07:05 +01:00
2021-07-20 16:17:49 +02:00
2021-07-20 16:17:53 +02:00
2021-07-11 12:48:13 +02:00