diff options
| author | Haneen Mohammed <[email protected]> | 2015-03-25 08:07:06 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2015-03-26 10:35:33 +0100 |
| commit | dde48b99d23f3f2e0f016d297801e4d5f13297fa (patch) | |
| tree | 870ca0c4c3c0ca0bd51c745bb9ea37ec74800a12 /tools/perf/scripts/python/bin | |
| parent | 26bce795d6f1fd0292283db0bf730a6c37970ab6 (diff) | |
Staging: rtl8192u: Add space before open parenthesis
Space is required before the open parenthesis.
This patch adds space after if to address that issue.
This was done with the help of the following Coccinelle script:
@r@
position p1,p2;
@@
if@p1 (@p2 ...) {
...
}
@script:python@
p1 << r.p1;
p2 << r.p2;
@@
l1 = int (p1[0].line)
l2 = int (p2[0].line)
c1 = int (p1[0].column)
c2 = int (p2[0].column)
if (l2 == l1 and c1 + 2 != c2):
cocci.include_match(False)
@@
position r.p1,r.p2;
@@
- if@p1 (
+ if (
...) {
...
}
Signed-off-by: Haneen Mohammed <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions