aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorBhanusree Pola <bhanusreemahesh@gmail.com>2019-03-23 13:21:29 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-03-26 05:44:53 +0900
commit1ec119f09420ab2cb8b55c713d0821335e1aff39 (patch)
tree4f4e6a07332fe2868175ac653dbf51a0cf86ebd9 /tools/perf/scripts/python/event_analyzing_sample.py
parentstaging: vt6655: lines should not end with a parentheses (diff)
Staging: media: imx: mipi-csi2: Remove unnecessary error messages
The function devm_ioremap already prints error message when there is no enough memory. Remove print statements that give error messages Issue found using coccinelle The following semantic patch is used to solve this: <smpl> @@ expression x; constant char[] C; identifier f; @@ x = (\(kmalloc\|devm_kzalloc\|kmalloc_array\|devm_ioremap\| usb_alloc_urb\|alloc_netdev\|dev_alloc_skb\)(...)); if(x==NULL) { ... ( -f(C,...); | -f(...,C); ) ... } </smpl> Signed-off-by: Bhanusree Pola <bhanusreemahesh@gmail.com> Reviewed-by: Fabio Estevam <festevam@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions