diff options
author | Oleg Nesterov <oleg@redhat.com> | 2015-08-26 03:12:34 +0300 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2015-08-26 04:06:19 +0300 |
commit | 74b22c465cd2b6ff4b8cec3997512ec807e6e495 (patch) | |
tree | bcc0db7d79b2b2c17f6f1cf3743a8eebbebdd7a9 /lib/Kconfig.debug | |
parent | 5cfb203a304deaaa8c7c5368722b214d24583137 (diff) | |
download | linux-74b22c465cd2b6ff4b8cec3997512ec807e6e495.tar.xz |
params: don't ignore the rest of cmdline if parse_one() fails
parse_args() just aborts after it hits an error, so other args
at the same initcall level are simply ignored. This can lead to
other hard-to-understand problems, for example my testing machine
panics during the boot if I pass "locktorture.verbose=true".
Change parse_args() to save the err code for return and continue.
Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'lib/Kconfig.debug')
0 files changed, 0 insertions, 0 deletions