diff options
| author | Randy Dunlap <[email protected]> | 2022-03-12 06:36:09 +0000 |
|---|---|---|
| committer | Russell King (Oracle) <[email protected]> | 2022-03-31 13:34:46 +0000 |
| commit | 8b2360c7157b462c4870d447d1e65d30ef31f9aa (patch) | |
| tree | 736b7807caa6fad5941c8efe2cbbe9314729a092 /net/unix/af_unix.c | |
| parent | ARM: 9182/1: mmu: fix returns from early_param() and __setup() functions (diff) | |
| download | kernel-8b2360c7157b462c4870d447d1e65d30ef31f9aa.tar.gz kernel-8b2360c7157b462c4870d447d1e65d30ef31f9aa.zip | |
ARM: 9187/1: JIVE: fix return value of __setup handler
__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 jive_mtdset().
Fixes: 9db829f485c5 ("[ARM] JIVE: Initial machine support for Logitech Jive")
Signed-off-by: Randy Dunlap <[email protected]>
Cc: Ben Dooks <[email protected]>
Cc: Krzysztof Kozlowski <[email protected]>
Cc: Alim Akhtar <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Signed-off-by: Russell King (Oracle) <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
