diff options
author | Olaf Hering <olaf@aepfle.de> | 2023-06-30 17:53:02 +0300 |
---|---|---|
committer | Jonathan Corbet <corbet@lwn.net> | 2023-07-04 17:29:32 +0300 |
commit | 57ada2358fae8c3df0f810c3a7196f074da01c98 (patch) | |
tree | c0da3c97b6c00561fa1f0f8f868faa3de0e01fa3 /Documentation/admin-guide/kernel-parameters.txt | |
parent | b45d8f3871574999002b79d551cac51a20bcfae6 (diff) | |
download | linux-57ada2358fae8c3df0f810c3a7196f074da01c98.tar.xz |
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 'Documentation/admin-guide/kernel-parameters.txt')
-rw-r--r-- | Documentation/admin-guide/kernel-parameters.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/admin-guide/kernel-parameters.txt b/Documentation/admin-guide/kernel-parameters.txt index b0e4195808b4..de0eb6fd8d03 100644 --- a/Documentation/admin-guide/kernel-parameters.txt +++ b/Documentation/admin-guide/kernel-parameters.txt @@ -4064,7 +4064,7 @@ extra details on the taint flags that users can pick to compose the bitmask to assign to panic_on_taint. - panic_on_warn panic() instead of WARN(). Useful to cause kdump + panic_on_warn=1 panic() instead of WARN(). Useful to cause kdump on a WARN(). parkbd.port= [HW] Parallel port number the keyboard adapter is |