aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorsimran singhal <[email protected]>2017-03-04 22:16:54 +0530
committerGreg Kroah-Hartman <[email protected]>2017-03-09 14:27:13 +0100
commit4be4c379299e47ca00768f67ae47515ac74af3bd (patch)
treeb5789f805b98b5799251a05e81394f235c71b841 /tools/perf/scripts/python/stackcollapse.py
parent1839f03706d6f0f196bb15b1f99c4a5fe76a829e (diff)
staging: speakup: 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/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions