From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E73C81FB4 for ; Fri, 3 Feb 2023 10:16:48 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 484B7C4339C; Fri, 3 Feb 2023 10:16:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1675419408; bh=zQYHj2KM02S7NwV8wPHwHGe2qHKXTCHAN6ATf9utus8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=1BfpqOyejBp5/Qg3zo/xDEMBIZJ7roafBDNK44JbujLXfNiZFwpldb3/rK9O2dMi3 IINSNh/YAN/kmYg6DSWEBhBr4kxhR0Qjn5+mL/6ffvhoWgPpYrnpJkvB+I9QeNHphw f8fK4FBdCf5ZxXRMva0YCvQQWQSp6fFAyiFN/bzo= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, kernel test robot , linux-hardening@vger.kernel.org, Kees Cook , Eric Biggers Subject: [PATCH 4.14 58/62] docs: Fix path paste-o for /sys/kernel/warn_count Date: Fri, 3 Feb 2023 11:12:54 +0100 Message-Id: <20230203101015.446300232@linuxfoundation.org> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230203101012.959398849@linuxfoundation.org> References: <20230203101012.959398849@linuxfoundation.org> User-Agent: quilt/0.67 Precedence: bulk X-Mailing-List: patches@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From: Kees Cook commit 00dd027f721e0458418f7750d8a5a664ed3e5994 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: kernel test robot 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 Signed-off-by: Eric Biggers Signed-off-by: Greg Kroah-Hartman --- Documentation/ABI/testing/sysfs-kernel-warn_count | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/Documentation/ABI/testing/sysfs-kernel-warn_count +++ b/Documentation/ABI/testing/sysfs-kernel-warn_count @@ -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