forked from Minki/linux
34611e6996
drivers/net/netdevsim/dev.c:937: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
Fixes:
|
||
---|---|---|
.. | ||
bpf.c | ||
bus.c | ||
dev.c | ||
fib.c | ||
health.c | ||
ipsec.c | ||
Makefile | ||
netdev.c | ||
netdevsim.h |