aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorJulia Lawall <julia.lawall@lip6.fr>2016-11-16 11:43:33 +0100
committerDavid S. Miller <davem@davemloft.net>2016-11-16 23:26:36 -0500
commitd01eb808c7b8bf2faf89901f1fddfa836d330057 (patch)
tree849de32d1a3b8df4c5c8702ffc0e6214bb2c04d2 /tools/perf/scripts/python/call-graph-from-postgresql.py
parentsctp: use new rhlist interface on sctp transport rhashtable (diff)
downloadlinux-dev-d01eb808c7b8bf2faf89901f1fddfa836d330057.tar.xz
linux-dev-d01eb808c7b8bf2faf89901f1fddfa836d330057.zip
net: netcp: replace IS_ERR_OR_NULL by IS_ERR
knav_queue_open always returns an ERR_PTR value, never NULL. This can be confirmed by unfolding the function calls and conforms to the function's documentation. Thus, replace IS_ERR_OR_NULL by IS_ERR in error checks. The change is made using the following semantic patch: (http://coccinelle.lip6.fr/) // <smpl> @@ expression x; statement S; @@ x = knav_queue_open(...); if ( - IS_ERR_OR_NULL + IS_ERR (x)) S // </smpl> Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions