diff options
author | Olaf Hering <olaf@aepfle.de> | 2023-06-30 16:53:02 +0200 |
---|---|---|
committer | Jonathan Corbet <corbet@lwn.net> | 2023-07-04 08:29:32 -0600 |
commit | 57ada2358fae8c3df0f810c3a7196f074da01c98 (patch) | |
tree | c0da3c97b6c00561fa1f0f8f868faa3de0e01fa3 /tools/testing/selftests/rcutorture | |
parent | b45d8f3871574999002b79d551cac51a20bcfae6 (diff) | |
download | linux-stable-57ada2358fae8c3df0f810c3a7196f074da01c98.tar.gz linux-stable-57ada2358fae8c3df0f810c3a7196f074da01c98.tar.bz2 linux-stable-57ada2358fae8c3df0f810c3a7196f074da01c98.zip |
Fix documentation of panic_on_warn
The kernel cmdline option panic_on_warn expects an integer, it is not a
plain option as documented. A number of uses in the tree figured this
already, and use panic_on_warn=1 for their purpose.
Adjust a comment which otherwise may mislead people in the future.
Fixes: 9e3961a09798 ("kernel: add panic_on_warn")
Signed-off-by: Olaf Hering <olaf@aepfle.de>
Reviewed-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'tools/testing/selftests/rcutorture')
-rwxr-xr-x | tools/testing/selftests/rcutorture/bin/kvm.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/rcutorture/bin/kvm.sh b/tools/testing/selftests/rcutorture/bin/kvm.sh index 62f3b0f56e4d..d3cdc2d33d4b 100755 --- a/tools/testing/selftests/rcutorture/bin/kvm.sh +++ b/tools/testing/selftests/rcutorture/bin/kvm.sh @@ -655,4 +655,4 @@ fi # Control buffer size: --bootargs trace_buf_size=3k # Get trace-buffer dumps on all oopses: --bootargs ftrace_dump_on_oops # Ditto, but dump only the oopsing CPU: --bootargs ftrace_dump_on_oops=orig_cpu -# Heavy-handed way to also dump on warnings: --bootargs panic_on_warn +# Heavy-handed way to also dump on warnings: --bootargs panic_on_warn=1 |