diff options
| author | kbuild test robot <[email protected]> | 2020-02-04 22:22:02 +0800 | 
|---|---|---|
| committer | David S. Miller <[email protected]> | 2020-02-05 13:55:32 +0100 | 
| commit | 34611e6996f331399ee26382fdbc2bd009f9cdd6 (patch) | |
| tree | d87fbbc327babaef24cfb90ddce987a0762a16b8 /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | 9784e619f0a0ada7421ffd777872a199cdcb73cd (diff) | |
netdevsim: fix ptr_ret.cocci warnings
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: 6556ff32f12d ("netdevsim: use IS_ERR instead of IS_ERR_OR_NULL for debugfs")
CC: Taehee Yoo <[email protected]>
Signed-off-by: kbuild test robot <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions