Colin Ian King
9d15e5cc8c
mdio: mux: fix an incorrect less than zero error check using a u32
...
The u32 variable v is being checked to see if an error return is
less than zero and this check has no effect because it is unsigned.
Fix this by making v and int (this also matches the type of
cb->bus_number which is assigned to the value in v).
Detected by CoverityScan, CID#1440454 ("Unsigned compared against zero")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-06-05 17:45:51 -04:00
..
2016-10-20 14:25:23 -04:00
2016-10-30 12:42:58 -04:00
2017-03-13 21:51:49 -07:00
2017-01-18 16:56:10 -05:00
2016-12-10 23:31:19 -05:00
2017-03-22 12:43:00 -07:00
2016-11-30 10:22:27 -05:00
2017-05-16 15:58:18 -04:00
2017-05-30 12:42:27 -04:00
2016-12-24 11:46:01 -08:00
2017-04-20 16:00:48 -04:00
2017-03-24 15:33:32 +01:00
2017-03-22 12:43:00 -07:00
2016-11-17 12:05:05 -05:00
2016-12-24 11:46:01 -08:00
2017-03-22 12:43:00 -07:00
2017-05-30 12:42:27 -04:00
2016-12-24 11:46:01 -08:00
2017-05-30 12:42:27 -04:00
2017-06-04 19:54:38 -04:00
2017-06-02 14:22:31 -04:00
2017-02-07 10:51:46 -05:00
2017-02-09 17:10:23 -05:00
2017-03-13 21:51:51 -07:00
2017-03-29 10:32:32 -07:00
2017-03-29 10:32:32 -07:00
2017-01-12 15:05:10 -05:00
2016-07-16 21:32:58 -07:00
2017-05-08 17:59:33 -04:00
2016-11-09 12:50:55 -05:00
2017-06-05 17:45:51 -04:00
2017-05-16 11:41:08 -04:00
2017-05-16 11:41:08 -04:00
2016-11-09 12:50:55 -05:00
2017-05-31 20:56:31 -04:00
2017-05-16 15:58:18 -04:00
2017-02-08 13:29:04 -05:00
2016-12-10 23:31:19 -05:00
2017-05-27 19:58:15 -04:00
2017-01-25 14:40:19 -05:00
2017-04-17 15:10:42 -04:00
2017-04-26 22:39:08 -04:00
2016-12-24 11:46:01 -08:00
2016-11-28 12:06:54 -05:00
2017-06-04 21:36:20 -04:00
2017-03-07 13:33:24 -08:00
2016-06-27 10:40:57 -04:00
2016-06-27 10:40:57 -04:00
2016-12-02 10:36:47 -05:00
2016-08-23 17:17:48 -07:00