diff options
| author | Joe Perches <joe@perches.com> | 2013-11-12 15:10:10 -0800 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-11-13 12:09:25 +0900 |
| commit | e970b8846ae4763e64be3c93dc06b4eaebf9ad63 (patch) | |
| tree | 2543f6bd1d9aa24249c3d8418c0dc369434aad81 /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | checkpatch: add test for #defines of ARCH_HAS_<foo> (diff) | |
| download | linux-e970b8846ae4763e64be3c93dc06b4eaebf9ad63.tar.gz linux-e970b8846ae4763e64be3c93dc06b4eaebf9ad63.zip | |
checkpatch: add rules to check init attribute and const defects
People get this regularly wrong and it breaks the LTO builds, as it causes
a section attribute conflict.
Add --fix capability too.
Based on a patch from Andi Kleen.
Signed-off-by: Joe Perches <joe@perches.com>
Cc: Andi Kleen <ak@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions
