Re: [PATCH v0 25/42] arch/um: Check notifier registration return value

From: Johannes Berg
Date: Mon Nov 08 2021 - 05:56:35 EST


On Mon, 2021-11-08 at 11:48 +0100, Borislav Petkov wrote:
> On Mon, Nov 08, 2021 at 11:23:59AM +0100, Johannes Berg wrote:
> > Maybe it should just return it? I don't see how this is ever possible,
> > since it's an initcall.
>
> If it would return it, you'd see the warning only when booting with
> "initcall_debug", I believe.

Oh, I thought we'd fail :)

> I can do that if it is preferred...
>
No strong opinion either way.

johannes