diff options
author | Joe Perches <[email protected]> | 2018-09-04 15:46:06 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2018-09-04 16:45:02 -0700 |
commit | 328b5f417a4ac929e20d98b989a2babac66c8520 (patch) | |
tree | 03283b079776257d6319e5838c2eda9ab8dc1fdf /tools/perf/util/trace-event-scripting.c | |
parent | 9c21dae291d1b7763b749dfaef3fb911286c0d98 (diff) |
checkpatch: add optional static const to blank line declarations test
Using a static const struct definition as part of a series of
declarations produces a false positive "Missing a blank line after
declarations" for code like:
WARNING: Missing a blank line after declarations
#710: FILE: drivers/gpu/drm/tidss/tidss_scale_coefs.c:137:
+ int inc;
+ static const struct {
So fix it.
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Joe Perches <[email protected]>
Reported-by: Jyri Sarha <[email protected]>
Cc: "Valkeinen, Tomi" <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions