Thread (9 messages) 9 messages, 5 authors, 2021-09-16
STALE1736d

[PATCH V2 1/2] lib: sbi: add some macros to detect BUG at runtime

From: Andreas Schwab <hidden>
Date: 2021-09-15 09:27:13

On Sep 15 2021, Xiang W wrote:
+#define BUG_ON(cond) do { \
+	if (!(cond))	\
+		BUG(); \
Isn't that backwards?

Andreas.

-- 
Andreas Schwab, schwab at linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help