linux_dsm_epyc7002/drivers/net/hyperv
Wu Fengguang 1bb79284fc netvsc: fix ptr_ret.cocci warnings
drivers/net/hyperv/netvsc_drv.c:737:8-14: 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

Fixes: 9749fed5d4 ("netvsc: use ERR_PTR to avoid dereference issues")
CC: stephen hemminger <stephen@networkplumber.org>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-07-24 16:20:06 -07:00
..
hyperv_net.h netvsc: add rtnl annotations in rndis 2017-07-19 22:20:05 -07:00
Kconfig
Makefile
netvsc_drv.c netvsc: fix ptr_ret.cocci warnings 2017-07-24 16:20:06 -07:00
netvsc.c netvsc: add rtnl annotations in rndis 2017-07-19 22:20:05 -07:00
rndis_filter.c netvsc: add rtnl annotations in rndis 2017-07-19 22:20:05 -07:00