Wei Yongjun
269b7c5ff7
ag71xx: fix return value check in ag71xx_probe()
...
In case of error, the function of_get_mac_address() returns ERR_PTR()
and never returns NULL. The NULL test in the return value check should
be replaced with IS_ERR().
Fixes: d51b6ce441d3 ("net: ethernet: add ag71xx driver")
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Reviewed-by: Oleksij Rempel <o.rempel@pengutronix.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
2019-07-18 20:33:48 -07:00
..
2019-07-12 12:24:03 -07:00
2019-07-12 12:24:03 -07:00
2019-07-09 10:59:26 -07:00
2019-07-15 11:06:27 -07:00
2019-07-09 12:34:26 -07:00
2019-07-12 12:24:03 -07:00
2019-07-09 12:34:26 -07:00
2019-07-06 21:44:25 +02:00
2019-07-13 15:07:02 -07:00
2019-07-12 11:05:41 -07:00
2019-07-10 11:05:26 +02:00
2019-07-11 15:36:02 -07:00
2019-07-08 11:00:02 +02:00
2019-07-08 20:57:08 -07:00
2019-07-13 15:42:44 -07:00
2019-07-12 12:24:03 -07:00
2019-07-12 12:24:03 -07:00
2019-07-12 12:24:03 -07:00
2019-07-12 16:03:16 -07:00
2019-07-13 14:40:42 -07:00
2019-07-12 15:28:38 -07:00
2019-07-11 15:34:05 -07:00
2019-07-12 14:42:05 -07:00
2019-07-12 12:24:03 -07:00
2019-07-09 09:04:31 -07:00
2019-07-09 12:34:26 -07:00
2019-07-12 12:24:03 -07:00
2019-07-12 12:24:03 -07:00
2019-07-13 14:40:42 -07:00
2019-07-12 15:13:55 -07:00
2019-07-11 15:38:21 -07:00
2019-07-10 11:04:17 +02:00
2019-07-15 11:10:31 -07:00
2019-07-09 08:59:39 -07:00
2019-07-13 16:08:36 -07:00
2019-07-12 12:24:03 -07:00
2019-07-13 15:24:31 -07:00
2019-07-11 10:55:49 -07:00
2019-07-11 15:34:05 -07:00
2019-07-11 18:11:21 -07:00
2019-07-11 15:14:01 -07:00
2019-07-12 12:24:03 -07:00
2019-07-13 16:08:36 -07:00
2019-07-11 18:11:21 -07:00
2019-07-13 15:42:44 -07:00
2019-07-18 20:33:48 -07:00
2019-07-02 12:00:50 -07:00
2019-07-10 18:43:43 -07:00
2019-07-11 15:17:41 -07:00
2019-07-12 12:24:03 -07:00
2019-07-12 12:24:03 -07:00
2019-07-09 12:34:26 -07:00
2019-07-12 12:24:03 -07:00
2019-07-09 12:34:26 -07:00
2019-07-08 09:54:55 -07:00
2019-07-13 15:02:27 -07:00
2019-07-11 18:45:29 -07:00
2019-07-08 10:59:38 +02:00
2019-07-08 18:28:44 -07:00
2019-07-09 08:57:45 -07:00
2019-07-09 12:34:26 -07:00
2019-07-12 15:39:22 -07:00
2019-07-12 12:24:03 -07:00
2019-07-11 15:40:06 -07:00
2019-07-05 08:15:08 +02:00
2019-07-12 12:24:03 -07:00
2019-07-12 12:24:03 -07:00
2019-07-11 15:14:01 -07:00
2019-07-12 12:24:03 -07:00
2019-07-12 12:24:03 -07:00
2019-07-13 16:08:36 -07:00
2019-07-12 15:13:55 -07:00
2019-07-11 10:55:49 -07:00
2019-07-12 15:13:55 -07:00
2019-07-12 12:24:03 -07:00
2019-07-12 11:05:46 -07:00