Re: [BUG]: mm/vmalloc: uninitialized variable access in pcpu_get_vm_areas
From: Arnd Bergmann
Date: Tue Jun 18 2019 - 04:06:48 EST
On Mon, Jun 17, 2019 at 9:29 PM Arnd Bergmann <arnd@xxxxxxxx> wrote:
> On Mon, Jun 17, 2019 at 6:57 PM Uladzislau Rezki <urezki@xxxxxxxxx> wrote:
> Using switch/case makes it easier for the compiler because it
> seems to turn this into a single conditional instead of a set of
> conditions. It also seems to be the much more common style
> in the kernel.
Nevermind, the warning came back after all. It's now down to
one out of 2000 randconfig builds I tested, but that's not good
enough. I'll send a patch the way you suggested.
Arnd