aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorSrishti Sharma <srishtishar@gmail.com>2017-10-08 01:27:05 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-10-18 15:55:09 +0200
commit69af5d92da20f9e0487f33623627e5b9068dfd5c (patch)
treee27191ac4022eefdcf5c087be2d57bd75658378e /tools/perf/scripts/python
parentstaging: rtlwifi: phydm: Remove useless parentheses (diff)
downloadlinux-69af5d92da20f9e0487f33623627e5b9068dfd5c.tar.gz
linux-69af5d92da20f9e0487f33623627e5b9068dfd5c.zip
Staging: pi433: Fix the position of brace after if
Fix the position of the brace after if when it is on the next line. Done using the following semantic patch by coccinelle. @r1@ position p1, p2; @@ if(...)@p1 {@p2 ... } @script: python r2@ p1 << r1.p1; p2 << r1.p2; @@ l1 = int (p1[0].line) l2 = int (p2[0].line) c1 = int (p1[0].column_end) c2 = int (p2[0].column) if l1 == l2 and c1+1 == c2: cocci.include_match(False) @r3@ position r1.p1, r1.p2; @@ if(... - )@p1 -{@p2 +) { ... } Signed-off-by: Srishti Sharma <srishtishar@gmail.com> Acked-by: Julia Lawall <julia.lawall@lip6.fr> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions