summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf
diff options
context:
space:
mode:
authorkbuild test robot <fengguang.wu@intel.com>2018-07-26 10:09:52 +0300
committerSteffen Klassert <steffen.klassert@secunet.com>2018-07-27 07:47:28 +0300
commitc6f5e017df9dfa9f6cbe70da008e7d716d726f1b (patch)
treefb8d4f04a72a73a16a18a82bfbd7fda47aee380d /tools/testing/selftests/bpf
parent44e2b838c24d883dae8496dc7b6ddac7956ba53c (diff)
downloadlinux-c6f5e017df9dfa9f6cbe70da008e7d716d726f1b.tar.xz
xfrm: fix ptr_ret.cocci warnings
net/xfrm/xfrm_interface.c:692: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: 44e2b838c24d ("xfrm: Return detailed errors from xfrmi_newlink") CC: Benedict Wong <benedictwong@google.com> Signed-off-by: kbuild test robot <fengguang.wu@intel.com> Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Diffstat (limited to 'tools/testing/selftests/bpf')
0 files changed, 0 insertions, 0 deletions