[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAK8P3a1LtRf0MzoKJOsZ8Py5isQHFKQEMCC4kN=hvpDMpc4bhw@mail.gmail.com>
Date: Tue, 1 Aug 2017 22:44:26 +0200
From: Arnd Bergmann <arnd@...db.de>
To: Kees Cook <keescook@...omium.org>
Cc: Stephen Rothwell <sfr@...b.auug.org.au>,
Andrew Morton <akpm@...ux-foundation.org>,
Linux-Next Mailing List <linux-next@...r.kernel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: linux-next: build failure after merge of the akpm tree
On Tue, Aug 1, 2017 at 8:40 PM, Kees Cook <keescook@...omium.org> wrote:
>>
>> I don't know why this has turned up now. I have just left it broken
>> for now and would appreciate any fix.
>
> Thanks for the heads-up! I'm not sure why this suddenly appeared
> either, but Arnd has sent a patch for this now.
The main difference I see that can impact gcc's optimization steps is the
unreachable() that was there in BUG() but is absent in WARN().
It's possible that the compiler decided that the entire code path leading
up to the unreachable() couldn't happen, so it dropped the
__read_overflow2() call as well.
Arnd
Powered by blists - more mailing lists