coreboot-kgpe-d16/util/lint
Martin Roth f790672f2d 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>
2016-04-21 23:13:09 +02:00
..
check_lint_tests lint/check_lint_tests: Add script that will break all stable tests 2016-04-10 18:13:01 +02:00
checkpatch.pl checkpatch: fine tune checks 2015-05-08 21:19:35 +02:00
kconfig_lint kconfig_lint: make sure if and endif statements are balanced 2016-03-03 20:42:49 +01:00
kconfig_lint_README kconfig_lint: demote 'always defined' errors to warnings 2016-02-09 21:52:45 +01:00
lint lint: properly terminate junit report on error 2015-11-19 16:13:50 +01:00
lint-000-license-headers util/lint: update lint-000-license-headers 2016-04-13 17:37:53 +02:00
lint-001-no-global-config-in-romstage tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
lint-007-checkpatch lint: rename lint-006-checkpatch because board name is lint-006 2016-01-12 22:32:16 +01:00
lint-008-kconfig kconfig_lint: update kconfig lint shell scripts 2016-02-10 17:17:56 +01:00
lint-014-qualified-types util/lint: Find unsigned variables with no length specified 2016-04-21 23:13:09 +02:00
lint-stable-000-license-headers lint: Add check for amd & apple mainboard license headers 2016-04-21 23:07:31 +02:00
lint-stable-003-whitespace tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
lint-stable-004-style-labels lint/lint-stable-004-style-labels: Update script 2016-04-13 02:11:28 +02:00
lint-stable-005-board-status lint: Update board status script to look at the whole tree 2016-03-29 23:30:47 +02:00
lint-stable-006-board-name lint: Add check for new board name scheme 2015-04-18 08:31:36 +02:00
lint-stable-008-kconfig lint-kconfig: pipe stderr to stdout to catch script errors 2016-03-05 15:40:31 +01:00
lint-stable-009-old-licenses util/lint: Fix linter for old license headers 2016-01-21 12:31:53 +01:00
lint-stable-010-asm-syntax lint: test for assembler dialect switches 2016-02-07 00:36:46 +01:00
lint-stable-012-executable-bit lint: Add a check for the executable bit being set on source code 2016-01-30 03:23:44 +01:00
lint-stable-013-site-local lint: Make sure site-local isn't committed to coreboot repo 2016-02-16 22:47:39 +01:00
remccoms3.sed Remove whitespace. 2012-02-17 19:04:31 +01:00
spelling.txt Add Linux kernel's checkpatch.pl script 2015-02-11 19:53:53 +01:00