Re: [PATCH] powerpc/xive: fix return value of __setup handler

2022-03-20 Thread Michael Ellerman
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

Re: [PATCH] powerpc/xive: fix return value of __setup handler

2022-03-14 Thread Cédric Le Goater
On 3/13/22 07:59, 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

[PATCH] powerpc/xive: fix return value of __setup handler

2022-03-12 Thread Randy Dunlap
__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