summaryrefslogtreecommitdiffstats
path: root/src/include/assert.h
diff options
context:
space:
mode:
authorLee Leahy <leroy.p.leahy@intel.com>2017-03-07 11:44:05 -0800
committerLee Leahy <leroy.p.leahy@intel.com>2017-03-09 17:16:35 +0100
commite0f5dfc6785c53217c0d97331b3ada46a51cc016 (patch)
treeb1315ae178d608bfccb701747bfa121e3223d68a /src/include/assert.h
parent0ca2a0654ca4b403e8a54d558bce07a862820a9d (diff)
downloadcoreboot-e0f5dfc6785c53217c0d97331b3ada46a51cc016.tar.gz
coreboot-e0f5dfc6785c53217c0d97331b3ada46a51cc016.tar.bz2
coreboot-e0f5dfc6785c53217c0d97331b3ada46a51cc016.zip
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>
Diffstat (limited to 'src/include/assert.h')
-rw-r--r--src/include/assert.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/include/assert.h b/src/include/assert.h
index 198538974ff2..90cc2a8b1885 100644
--- a/src/include/assert.h
+++ b/src/include/assert.h
@@ -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)