summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorYueHaibing <yuehaibing@huawei.com>2018-07-25 16:54:33 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-09-26 08:35:04 +0200
commit1e89472ff0635fc68c19e44ec552ed8a9d6e71e4 (patch)
treefba279c884fae4cc34df8f1e8c6941d3109fdbe0 /tools/perf/scripts/python/bin
parent650ca59a640ba016d3a29555cdbc5c2623c753e9 (diff)
xfrm: fix 'passing zero to ERR_PTR()' warning
[ Upstream commit 934ffce1343f22ed5e2d0bd6da4440f4848074de ] Fix a static code checker warning: net/xfrm/xfrm_policy.c:1836 xfrm_resolve_and_create_bundle() warn: passing zero to 'ERR_PTR' xfrm_tmpl_resolve return 0 just means no xdst found, return NULL instead of passing zero to ERR_PTR. Fixes: d809ec895505 ("xfrm: do not assume that template resolving always returns xfrms") Signed-off-by: YueHaibing <yuehaibing@huawei.com> Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com> Signed-off-by: Sasha Levin <alexander.levin@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions