diff options
| author | Sam Bobroff <[email protected]> | 2015-04-16 12:44:39 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2015-04-17 09:03:58 -0400 |
| commit | d7fe8065ad891a2ad38b73ff10b97d08f0fb3b0b (patch) | |
| tree | 1eddfca597a479fc88586df29e399e6d96a6c85e /tools/perf/scripts/python/bin | |
| parent | b598b67060f14eb8c34d0cef1db4727dab56ef91 (diff) | |
checkpatch: improve operator spacing check
Code such as:
x = timercmp(&now, &end, <);
Will currently trigger a checkpatch error. e.g.
ERROR: spaces required around that '<'
This is because the "Ignore operators passed as parameters" check looks
only for a comma following the operator. Improve the check by also
looking for a close parenthesis.
Signed-off-by: Sam Bobroff <[email protected]>
Cc: Joe Perches <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions