switch-coreboot/util/lint
Martin Roth 566f0d168e UPSTREAM: 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.

BUG=none
BRANCH=none
TEST=none

Change-Id: I69e9577374579bf24736b2961285938c124df8c0
Signed-off-by: Patrick Georgi <pgeorgi@chromium.org>
Original-Commit-Id: 010905ed2f
Original-Change-Id: Ieb0c96027e8df842f60ca7c9de7aac941eed1dc2
Original-Signed-off-by: Martin Roth <martinroth@google.com>
Original-Reviewed-on: https://review.coreboot.org/18570
Original-Tested-by: build bot (Jenkins)
Original-Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Original-Reviewed-by: Lee Leahy <leroy.p.leahy@intel.com>
Reviewed-on: https://chromium-review.googlesource.com/452366
2017-03-09 05:14:36 -08: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 UPSTREAM: uti/lint/checkpatch: Fix __attribute__ struct errors for OPEN_BRACE 2017-03-09 05:14:36 -08:00
kconfig_lint UPSTREAM: lint/kconfig_lint: Make sure all symbols have a type defined 2016-12-13 17:49:45 -08:00
kconfig_lint_README UPSTREAM: lint/kconfig_lint: Make sure all symbols have a type defined 2016-12-13 17:49:45 -08:00
lint UPSTREAM: util/lint/lint: Show lint script output as it's running 2016-10-29 15:16:30 -07:00
lint-000-license-headers UPSTREAM: util/lint: Don't check license text for files with under 5 lines 2017-02-17 04:09:19 -08: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 UPSTREAM: lint/lint-007-checkpatch: Update lint script 2016-09-22 08:55:07 -07: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-015-final-newlines UPSTREAM: util/lint: Add a tool to verify a single newline at the end of files 2017-01-20 08:47:59 -08:00
lint-016-non-ascii UPSTREAM: util/lint: Add a lint tool to find non-ascii & unprintable chars 2016-08-09 17:11:31 -07: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 UPSTREAM: Add minimal GNAT run time system (RTS) 2016-09-21 19:36:46 -07: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
lint-stable-017-configs UPSTREAM: util/lint: Add check to verify saved configs are miniconfigs 2016-12-09 03:30:09 -08:00
lint-stable-018-symlinks UPSTREAM: util/lint: Add check for symbolic links in the coreboot tree 2016-12-01 00:50:49 -08:00
lint-stable-019-header-files UPSTREAM: util/lint: add check for auto-included headers 2016-12-13 17:49:43 -08:00
lint-stable-020-signed-off-by UPSTREAM: util/lint: Add check for the signed-off-by line 2017-01-13 15:21:48 -08:00
remccoms3.sed
spelling.txt UPSTREAM: util/lint: Update to latest checkpatch.pl 2016-09-07 00:16:42 -07:00