* Please apply commit 3c047057d120 ("asm-generic: default BUG_ON(x) to if(x)BUG()") to v4.4.y
@ 2019-08-20 18:36 Guenter Roeck
2019-08-20 20:11 ` Greg Kroah-Hartman
0 siblings, 1 reply; 2+ messages in thread
From: Guenter Roeck @ 2019-08-20 18:36 UTC (permalink / raw)
To: stable, Greg Kroah-Hartman
Cc: Sasha Levin, Arnd Bergmann, Nathan Chancellor, Nick Desaulniers
Please apply commit 3c047057d120 ("asm-generic: default BUG_ON(x) to if(x)BUG()")
to linux-4.4.y.
The commit is somewhat related to commit 173a3efd3edb ("bug.h: work
around GCC PR82365 in BUG()") which has already been applied to v4.4.y.
That patch assumes that commit 3c047057d120 is applied as well.
Commit 3c047057d120 avoids warnings such as
arch/x86/kernel/irqinit.c:157:2: warning: if statement has empty body [-Wempty-body]
which are reported randomly by 0day build reports. Besides, as Arnd
points out in the commit, it avoids random behavior with CONFIG_BUG=n.
Thanks,
Guenter
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: Please apply commit 3c047057d120 ("asm-generic: default BUG_ON(x) to if(x)BUG()") to v4.4.y
2019-08-20 18:36 Please apply commit 3c047057d120 ("asm-generic: default BUG_ON(x) to if(x)BUG()") to v4.4.y Guenter Roeck
@ 2019-08-20 20:11 ` Greg Kroah-Hartman
0 siblings, 0 replies; 2+ messages in thread
From: Greg Kroah-Hartman @ 2019-08-20 20:11 UTC (permalink / raw)
To: Guenter Roeck
Cc: stable, Sasha Levin, Arnd Bergmann, Nathan Chancellor,
Nick Desaulniers
On Tue, Aug 20, 2019 at 11:36:25AM -0700, Guenter Roeck wrote:
> Please apply commit 3c047057d120 ("asm-generic: default BUG_ON(x) to if(x)BUG()")
> to linux-4.4.y.
>
> The commit is somewhat related to commit 173a3efd3edb ("bug.h: work
> around GCC PR82365 in BUG()") which has already been applied to v4.4.y.
> That patch assumes that commit 3c047057d120 is applied as well.
>
> Commit 3c047057d120 avoids warnings such as
>
> arch/x86/kernel/irqinit.c:157:2: warning: if statement has empty body [-Wempty-body]
>
> which are reported randomly by 0day build reports. Besides, as Arnd
> points out in the commit, it avoids random behavior with CONFIG_BUG=n.
Now queued up, thanks!
greg k-h
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-08-20 20:12 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-08-20 18:36 Please apply commit 3c047057d120 ("asm-generic: default BUG_ON(x) to if(x)BUG()") to v4.4.y Guenter Roeck
2019-08-20 20:11 ` Greg Kroah-Hartman
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.