diff options
author | Randy Dunlap <[email protected]> | 2022-03-12 07:36:09 +0100 |
---|---|---|
committer | Russell King (Oracle) <[email protected]> | 2022-03-31 14:34:46 +0100 |
commit | 8b2360c7157b462c4870d447d1e65d30ef31f9aa (patch) | |
tree | 736b7807caa6fad5941c8efe2cbbe9314729a092 /scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h | |
parent | 7b83299e5b9385943a857d59e15cba270df20d7e (diff) |
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 'scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h')
0 files changed, 0 insertions, 0 deletions