OSDN Git Service

Fix documentation of panic_on_warn
authorOlaf Hering <olaf@aepfle.de>
Fri, 30 Jun 2023 14:53:02 +0000 (16:53 +0200)
committerJonathan Corbet <corbet@lwn.net>
Tue, 4 Jul 2023 14:29:32 +0000 (08:29 -0600)
commit57ada2358fae8c3df0f810c3a7196f074da01c98
treec0da3c97b6c00561fa1f0f8f868faa3de0e01fa3
parentb45d8f3871574999002b79d551cac51a20bcfae6
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>
Documentation/admin-guide/kernel-parameters.txt
tools/testing/selftests/rcutorture/bin/kvm.sh