src/include: Move trailing statements to next line
Fix the following error detected by checkpatch.pl: ERROR: trailing statements should be on next line TEST=Build and run on Galileo Gen2 Change-Id: I169f520db6f62dfea50d2bb8fb69a8e8257f86c7 Signed-off-by: Lee Leahy <Leroy.P.Leahy@intel.com> Reviewed-on: https://review.coreboot.org/18643 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth <martinroth@google.com>
This commit is contained in:
@ -24,13 +24,15 @@
|
||||
if (!(x)) { \
|
||||
printk(BIOS_EMERG, "ASSERTION ERROR: file '%s'" \
|
||||
", line %d\n", __FILE__, __LINE__); \
|
||||
if (IS_ENABLED(CONFIG_FATAL_ASSERTS)) hlt(); \
|
||||
if (IS_ENABLED(CONFIG_FATAL_ASSERTS)) \
|
||||
hlt(); \
|
||||
} \
|
||||
}
|
||||
#define BUG() { \
|
||||
printk(BIOS_EMERG, "ERROR: BUG ENCOUNTERED at file '%s'"\
|
||||
", line %d\n", __FILE__, __LINE__); \
|
||||
if (IS_ENABLED(CONFIG_FATAL_ASSERTS)) hlt(); \
|
||||
if (IS_ENABLED(CONFIG_FATAL_ASSERTS)) \
|
||||
hlt(); \
|
||||
}
|
||||
|
||||
#define assert(statement) ASSERT(statement)
|
||||
|
Reference in New Issue
Block a user