aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorWu Fengguang <[email protected]>2017-07-22 02:54:43 +0800
committerDavid S. Miller <[email protected]>2017-07-24 16:20:06 -0700
commit1bb79284fcf9ebacff16ea0b81b3d5b86528cfd4 (patch)
tree62146acff26ec842bf6477cabaef87663886ca89 /tools/perf/scripts/python/bin
parent71085745ec72969708ef79ef80c5e3babfef2957 (diff)
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: 9749fed5d43d ("netvsc: use ERR_PTR to avoid dereference issues") CC: stephen hemminger <[email protected]> Signed-off-by: Fengguang Wu <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions