docs: Fix path paste-o for /sys/kernel/warn_count
authorKees Cook <keescook@chromium.org>
Wed, 14 Dec 2022 22:35:47 +0000 (14:35 -0800)
committerKees Cook <keescook@chromium.org>
Wed, 14 Dec 2022 22:37:59 +0000 (14:37 -0800)
Running "make htmldocs" shows that "/sys/kernel/oops_count" was
duplicated. This should have been "warn_count":

  Warning: /sys/kernel/oops_count is defined 2 times:
  ./Documentation/ABI/testing/sysfs-kernel-warn_count:0
  ./Documentation/ABI/testing/sysfs-kernel-oops_count:0

Fix the typo.

Reported-by: kernel test robot <lkp@intel.com>
Link: https://lore.kernel.org/linux-doc/202212110529.A3Qav8aR-lkp@intel.com
Fixes: 8b05aa263361 ("panic: Expose "warn_count" to sysfs")
Cc: linux-hardening@vger.kernel.org
Signed-off-by: Kees Cook <keescook@chromium.org>
Documentation/ABI/testing/sysfs-kernel-warn_count

index 08f083d..90a0298 100644 (file)
@@ -1,4 +1,4 @@
-What:          /sys/kernel/oops_count
+What:          /sys/kernel/warn_count
 Date:          November 2022
 KernelVersion: 6.2.0
 Contact:       Linux Kernel Hardening List <linux-hardening@vger.kernel.org>