diff options
author | Martin Roth <martinroth@google.com> | 2016-04-06 16:32:37 -0600 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2016-04-21 23:13:09 +0200 |
commit | f790672f2daf36dd361e184ef01ebdd5950a609c (patch) | |
tree | 526bc8d1d6a1baceedc5486140a2219750dd1b1d /util/lint/lint-stable-010-asm-syntax | |
parent | c0124282910cfebe24e4efdbac184e5fee522589 (diff) | |
download | coreboot-f790672f2daf36dd361e184ef01ebdd5950a609c.tar.xz |
util/lint: Find unsigned variables with no length specified
The coding guidelines say that all objects should have fully
qualified types (unsigned int instead of unsigned).
This script finds violations of that rule.
Steps for the filter:
1) Find all lines in the coreboot tree that have the word 'unsigned'
followed by a space.
2) Exclude directories that aren't in the include list or
are specifically excluded.
3) Exclude files that aren't specifically included.
4) Filter out legimitate uses 'unsigned int' or 'unsigned long' for
example.
5) Filter out lines that begin with '/*' or '*'
Change-Id: I46213c6a168e6aafa29a50af814bf7e0fcd32eb6
Signed-off-by: Martin Roth <martinroth@google.com>
Reviewed-on: https://review.coreboot.org/14269
Tested-by: build bot (Jenkins)
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'util/lint/lint-stable-010-asm-syntax')
0 files changed, 0 insertions, 0 deletions