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

Xiang W wxjstz at 126.com
Wed Sep 15 03:07:29 PDT 2021


在 2021-09-15星期三的 11:27 +0200,Andreas Schwab写道:
> On Sep 15 2021, Xiang W wrote:
> 
> > +#define BUG_ON(cond) do { \
> > +       if (!(cond))    \
> > +               BUG(); \
> 
> Isn't that backwards?
I can't understand what you mean.

Regards,
Xiang W
> 
> Andreas.
> 





More information about the opensbi mailing list