aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorsimran singhal <[email protected]>2017-03-04 22:16:53 +0530
committerGreg Kroah-Hartman <[email protected]>2017-03-09 18:19:07 +0100
commit3956c8ac3999e0a5e36bdf0586f811db5ef28594 (patch)
tree64eb81e7636fe48c518437b22c84675ba36cb31e /tools/perf/scripts/python/call-graph-from-postgresql.py
parentc946c698bc0d8b66570180d046c57177545c0f6e (diff)
staging: rtl8192u: Clean up tests if NULL returned on failure
Some functions like kmalloc/kzalloc return NULL on failure. When NULL represents failure, !x is commonly used. This was done using Coccinelle: @@ expression *e; identifier l1; @@ e = \(kmalloc\|kzalloc\|kcalloc\|devm_kzalloc\)(...); ... - e == NULL + !e Signed-off-by: simran singhal <[email protected]> Acked-by: Julia Lawall <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions