Re: [PATCH] asm-generic: bug: add unlikely() to BUG_ON()

From: Igor Stoppa
Date: Sat Sep 08 2018 - 00:32:30 EST




On 07/09/18 23:41, Arnd Bergmann wrote:

Could you add a comment about -Wmaybe-uninitialized next to the definition?
Otherwise that is easily lost.

Also, I see that the file has two separate definitions of BUG_ON(), and the
other one does have an unlikely() in it already. Can you change both
to do the same thing with unlikely() or not unlikely()?

ack

--
igor