linux_dsm_epyc7002/drivers/net/ethernet/hisilicon/hns
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
..
hnae.c net: hisilicon: fix ptr_ret.cocci warnings 2015-10-21 19:38:26 -07:00
hnae.h net: hisilicon: supports promisc mode 2015-10-14 06:52:48 -07:00
hns_ae_adapt.c net: hisilicon: supports promisc mode 2015-10-14 06:52:48 -07:00
hns_dsaf_gmac.c
hns_dsaf_gmac.h
hns_dsaf_mac.c net: hisilicon fix a bug on Hisilicon Network Subsystem 2015-10-18 19:54:42 -07:00
hns_dsaf_mac.h
hns_dsaf_main.c net: hisilicon: include linux/vmalloc.h in dsaf 2015-10-18 19:58:46 -07:00
hns_dsaf_main.h net: hisilicon: supports promisc mode 2015-10-14 06:52:48 -07:00
hns_dsaf_misc.c
hns_dsaf_misc.h
hns_dsaf_ppe.c
hns_dsaf_ppe.h
hns_dsaf_rcb.c net: hisilicon: supports promisc mode 2015-10-14 06:52:48 -07:00
hns_dsaf_rcb.h net: hisilicon: supports promisc mode 2015-10-14 06:52:48 -07:00
hns_dsaf_reg.h net: Fix Hisilicon Network Subsystem Support Compilation 2015-09-28 22:34:23 -07:00
hns_dsaf_xgmac.c net: hisilicon: fixes a bug when using ethtool -S 2015-10-15 06:01:41 -07:00
hns_dsaf_xgmac.h
hns_enet.c net: hns: fixes a bug about timeout by pause frame 2015-10-18 19:57:08 -07:00
hns_enet.h net: add Hisilicon Network Subsystem basic ethernet support 2015-09-20 21:42:58 -07:00
hns_ethtool.c net: hns: fixes the issue by using ethtool -s 2015-10-18 19:57:06 -07:00
Makefile net: add Hisilicon Network Subsystem basic ethernet support 2015-09-20 21:42:58 -07:00