linux/drivers/net/ethernet/sun
Dan Carpenter 99df45c9e0 sunhme: fix an IS_ERR() vs NULL check in probe
The devm_request_region() function does not return error pointers, it
returns NULL on error.

Fixes: 914d9b2711 ("sunhme: switch to devres")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Sean Anderson <seanga2@gmail.com>
Reviewed-by: Rolf Eike Beer <eike-kernel@sf-tec.de>
Link: https://lore.kernel.org/r/Y0bWzJL8JknX8MUf@kili
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2022-10-13 09:34:09 -07:00
..
Kconfig net: sun: SUNVNET_COMMON should depend on INET 2021-09-28 13:20:21 +01:00
Makefile
cassini.c net: drop the weight argument from netif_napi_add 2022-09-28 18:57:14 -07:00
cassini.h ethernet/sun: fix repeated words in comments 2022-07-01 20:13:19 -07:00
ldmvsw.c net: drop the weight argument from netif_napi_add 2022-09-28 18:57:14 -07:00
niu.c net: drop the weight argument from netif_napi_add 2022-09-28 18:57:14 -07:00
niu.h
sunbmac.c net: ethernet: move from strlcpy with unused retval to strscpy 2022-08-31 14:11:26 -07:00
sunbmac.h
sungem.c net: drop the weight argument from netif_napi_add 2022-09-28 18:57:14 -07:00
sungem.h
sunhme.c sunhme: fix an IS_ERR() vs NULL check in probe 2022-10-13 09:34:09 -07:00
sunhme.h
sunqe.c net: ethernet: move from strlcpy with unused retval to strscpy 2022-08-31 14:11:26 -07:00
sunqe.h
sunvnet.c net: drop the weight argument from netif_napi_add 2022-09-28 18:57:14 -07:00
sunvnet_common.c skb_copy_and_csum_bits(): don't bother with the last argument 2020-08-20 15:45:13 -04:00
sunvnet_common.h