coreboot-kgpe-d16/util/lint
Martin Roth 010905ed2f uti/lint/checkpatch: Fix __attribute__ struct errors for OPEN_BRACE
The __attribute__((weak)) lines on structs were being read as functions,
causing a warning that the brace should be on the next line.
Add a check to see if it's a struct with an attribute, and ignore it for
the OPEN_BRACE check if it is.

Change-Id: Ieb0c96027e8df842f60ca7c9de7aac941eed1dc2
Signed-off-by: Martin Roth <martinroth@google.com>
Reviewed-on: https://review.coreboot.org/18570
Tested-by: build bot (Jenkins)
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Lee Leahy <leroy.p.leahy@intel.com>
2017-03-09 04:37:43 +01:00
..
check_lint_tests
checkpatch.pl uti/lint/checkpatch: Fix __attribute__ struct errors for OPEN_BRACE 2017-03-09 04:37:43 +01:00
kconfig_lint lint/kconfig_lint: Make sure all symbols have a type defined 2016-12-12 18:07:51 +01:00
kconfig_lint_README lint/kconfig_lint: Make sure all symbols have a type defined 2016-12-12 18:07:51 +01:00
lint util/lint/lint: Show lint script output as it's running 2016-10-27 22:20:22 +02:00
lint-000-license-headers util/lint: Don't check license text for files with under 5 lines 2017-02-14 18:37:40 +01:00
lint-001-no-global-config-in-romstage
lint-007-checkpatch lint/lint-007-checkpatch: Update lint script 2016-09-20 21:43:11 +02:00
lint-008-kconfig
lint-014-qualified-types
lint-015-final-newlines util/lint: Add a tool to verify a single newline at the end of files 2016-08-19 18:08:25 +02:00
lint-016-non-ascii
lint-stable-000-license-headers
lint-stable-003-whitespace
lint-stable-004-style-labels
lint-stable-005-board-status
lint-stable-006-board-name
lint-stable-008-kconfig
lint-stable-009-old-licenses Add minimal GNAT run time system (RTS) 2016-09-19 11:14:49 +02:00
lint-stable-010-asm-syntax
lint-stable-012-executable-bit
lint-stable-013-site-local
lint-stable-017-configs util/lint: Add check to verify saved configs are miniconfigs 2016-12-09 00:35:16 +01:00
lint-stable-018-symlinks util/lint: Add check for symbolic links in the coreboot tree 2016-11-30 00:22:10 +01:00
lint-stable-019-header-files util/lint: add check for auto-included headers 2016-12-12 18:07:27 +01:00
lint-stable-020-signed-off-by util/lint: Add check for the signed-off-by line 2017-01-09 18:14:10 +01:00
remccoms3.sed
spelling.txt util/lint: Update to latest checkpatch.pl 2016-09-04 05:51:47 +02:00