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

From: Steven Rostedt
Date: Mon Sep 27 2021 - 17:58:25 EST


On Mon, 27 Sep 2021 20:32:12 +0200
Arnd Bergmann <arnd@xxxxxxxxxx> wrote:

> 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.

OK, but can you remove the extra line that's between the brace and the
text. I should have deleted it in that patch.

-- Steve