linux/drivers/net/ethernet/hisilicon
Wu Fengguang c6aa74d546 net: hisilicon: fix ptr_ret.cocci warnings
drivers/net/ethernet/hisilicon/hns/hnae.c:442:1-3: WARNING: PTR_ERR_OR_ZERO can be used

 Use PTR_ERR_OR_ZERO rather than if(IS_ERR(...)) + PTR_ERR

Generated by: scripts/coccinelle/api/ptr_ret.cocci

CC: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-10-21 19:38:26 -07:00
..
hns net: hisilicon: fix ptr_ret.cocci warnings 2015-10-21 19:38:26 -07:00
hip04_eth.c net: hisilicon: fix handling platform_get_irq result 2015-09-26 22:46:45 -07:00
hix5hd2_gmac.c net: hix5hd2_gmac: avoid integer overload warning 2015-10-18 20:01:08 -07:00
hns_mdio.c net: add Hisilicon Network Subsystem MDIO support 2015-09-20 21:42:57 -07:00
Kconfig net: hisilicon: add OF dependency 2015-10-18 20:01:06 -07:00
Makefile net: add Hisilicon Network Subsystem hnae framework support 2015-09-20 21:42:57 -07:00