提交 f6cfcefc 编写于 作者: K Kees Cook 提交者: sanglipeng

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: Nkernel 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: NKees Cook <keescook@chromium.org>
Signed-off-by: NEric Biggers <ebiggers@google.com>
Signed-off-by: NSasha Levin <sashal@kernel.org>
Signed-off-by: Nsanglipeng <sanglipeng1@jd.com>
上级 002e5616
What: /sys/kernel/oops_count What: /sys/kernel/warn_count
Date: November 2022 Date: November 2022
KernelVersion: 6.2.0 KernelVersion: 6.2.0
Contact: Linux Kernel Hardening List <linux-hardening@vger.kernel.org> Contact: Linux Kernel Hardening List <linux-hardening@vger.kernel.org>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册