Re: [PATCH] printk: avoid -Wsometimes-uninitialized warning

From: Arnd Bergmann
Date: Mon Sep 27 2021 - 14:32:32 EST


On Mon, Sep 27, 2021 at 6:21 PM Steven Rostedt <rostedt@xxxxxxxxxxx> wrote:
>
> On Mon, 27 Sep 2021 14:19:18 +0100
> Chris Down <chris@xxxxxxxxxxxxxx> wrote:
>
> > Having IS_ENABLED and then an #ifdef seems to hurt code readability to me.
>
> I agree.
>
> Would this be a better solution?

Sounds good, I'll follow up with that version after the next round of randconfig
builds.

Thanks,

Arnd