aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorSrishti Sharma <[email protected]>2017-10-08 01:27:05 +0530
committerGreg Kroah-Hartman <[email protected]>2017-10-18 15:55:09 +0200
commit69af5d92da20f9e0487f33623627e5b9068dfd5c (patch)
treee27191ac4022eefdcf5c087be2d57bd75658378e /tools/perf/scripts/python
parent38b2b2e8226e5f340935bb84d50c071bc513d296 (diff)
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 <[email protected]> Acked-by: Julia Lawall <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions