diff options
author | Joe Perches <[email protected]> | 2014-12-10 15:51:59 -0800 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2014-12-10 17:41:12 -0800 |
commit | 90ad30e5b2a759333f06eee64e59a0d886d02036 (patch) | |
tree | d656578867675998a058c62fee5436c2de4851f1 /tools/perf/scripts/python/check-perf-trace.py | |
parent | 0ab9019184f1de09409434204cb8fbffe8286e00 (diff) |
checkpatch: add test for consecutive string fragments
Emit a warning when single line string coalescing occurs.
Code that uses compiler string concatenation on a single line like:
printk("foo" "bar");
is generally better to read concatenated like:
printk("foobar");
Signed-off-by: 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/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions