[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
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."