Commit f6cfcefc authored by Kees Cook's avatar Kees Cook Committed by sanglipeng
Browse files

docs: Fix path paste-o for /sys/kernel/warn_count

stable inclusion
from stable-v5.10.166
commit 53f177b50449ab741599e402759d413f40b4073d
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I7TH9O

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=53f177b50449ab741599e402759d413f40b4073d



--------------------------------

commit 00dd027f upstream.

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: default avatarkernel test robot <lkp@intel.com>
Link: https://lore.kernel.org/linux-doc/202212110529.A3Qav8aR-lkp@intel.com


Fixes: 8b05aa26 ("panic: Expose "warn_count" to sysfs")
Cc: linux-hardening@vger.kernel.org
Signed-off-by: default avatarKees Cook <keescook@chromium.org>
Signed-off-by: default avatarEric Biggers <ebiggers@google.com>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarsanglipeng <sanglipeng1@jd.com>
parent 002e5616
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
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>