aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/ice/ice_tc_lib.c
diff options
context:
space:
mode:
authorYang Yingliang <[email protected]>2022-06-28 13:12:59 +0000
committerJakub Kicinski <[email protected]>2022-06-30 03:57:15 +0000
commitdbc6fc7e3f76ac8a584cd39f9978d6b41a96e75a (patch)
tree3169d5a5a73624f5fd0ffac6a8d7931443363b9a /drivers/net/ethernet/intel/ice/ice_tc_lib.c
parentnet: dsa: rzn1-a5psw: fix a NULL vs IS_ERR() check in a5psw_probe() (diff)
downloadkernel-dbc6fc7e3f76ac8a584cd39f9978d6b41a96e75a.tar.gz
kernel-dbc6fc7e3f76ac8a584cd39f9978d6b41a96e75a.zip
net: pcs-rzn1-miic: fix return value check in miic_probe()
On failure, devm_platform_ioremap_resource() returns a ERR_PTR() value and not NULL. Fix return value checking by using IS_ERR() and return PTR_ERR() as error value. Fixes: 7dc54d3b8d91 ("net: pcs: add Renesas MII converter driver") Reported-by: Hulk Robot <[email protected]> Signed-off-by: Yang Yingliang <[email protected]> Reviewed-by: Clément Léger <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_tc_lib.c')
0 files changed, 0 insertions, 0 deletions