OpenCloudOS-Kernel/drivers/net/netdevsim
Taehee Yoo 6556ff32f1 netdevsim: use IS_ERR instead of IS_ERR_OR_NULL for debugfs
Debugfs APIs return valid pointer or error pointer. it doesn't return NULL.
So, using IS_ERR is enough, not using IS_ERR_OR_NULL.

Reviewed-by: Jakub Kicinski <kuba@kernel.org>
Reported-by: kbuild test robot <lkp@intel.com>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Taehee Yoo <ap420073@gmail.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2020-02-03 15:32:20 -08:00
..
Makefile netdevsim: implement couple of testing devlink health reporters 2019-10-11 21:02:30 -07:00
bpf.c netdevsim: use IS_ERR instead of IS_ERR_OR_NULL for debugfs 2020-02-03 15:32:20 -08:00
bus.c netdevsim: disable devlink reload when resources are being used 2020-02-03 15:32:20 -08:00
dev.c netdevsim: use IS_ERR instead of IS_ERR_OR_NULL for debugfs 2020-02-03 15:32:20 -08:00
fib.c netdevsim: fix nsim_fib6_rt_create() error path 2020-01-17 11:00:57 +01:00
health.c netdevsim: use IS_ERR instead of IS_ERR_OR_NULL for debugfs 2020-02-03 15:32:20 -08:00
ipsec.c netdevsim: move netdev creation/destruction to dev probe 2019-04-26 01:52:03 -04:00
netdev.c netdevsim: register port netdevices into net of device 2019-10-04 11:10:56 -07:00
netdevsim.h netdevsim: fix panic in nsim_dev_take_snapshot_write() 2020-02-03 15:32:20 -08:00
sdev.c netdevsim: move shared dev creation and destruction into separate file 2019-04-12 16:49:54 -07:00