[PATCH] powerpc/xive: fix return value of __setup handler
Michael Ellerman
patch-notifications at ellerman.id.au
Mon Mar 21 16:05:51 AEDT 2022
On Sat, 12 Mar 2022 22:59:36 -0800, Randy Dunlap wrote:
> __setup() handlers should return 1 to obsolete_checksetup() in
> init/main.c to indicate that the boot option has been handled.
> A return of 0 causes the boot option/value to be listed as an Unknown
> kernel parameter and added to init's (limited) argument or environment
> strings. Also, error return codes don't mean anything to
> obsolete_checksetup() -- only non-zero (usually 1) or zero.
> So return 1 from xive_off() and xive_store_eoi_cmdline().
>
> [...]
Applied to powerpc/next.
[1/1] powerpc/xive: fix return value of __setup handler
https://git.kernel.org/powerpc/c/d64e3eab75a8e1e900c0fda2410a2df8893d8f85
cheers
More information about the Linuxppc-dev
mailing list