[coreboot-gerrit] Patch merged into coreboot/master: uti/lint/checkpatch: Fix __attribute__ struct errors for OPEN_BRACE
gerrit at coreboot.org
gerrit at coreboot.org
Thu Mar 9 04:37:48 CET 2017
the following patch was just integrated into master:
commit 010905ed2fdaea92116f5d2764073176c06dce31
Author: Martin Roth <martinroth at google.com>
Date: Sat Mar 4 19:28:37 2017 -0700
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 at google.com>
Reviewed-on: https://review.coreboot.org/18570
Tested-by: build bot (Jenkins)
Reviewed-by: Paul Menzel <paulepanter at users.sourceforge.net>
Reviewed-by: Lee Leahy <leroy.p.leahy at intel.com>
See https://review.coreboot.org/18570 for details.
-gerrit
More information about the coreboot-gerrit
mailing list