From patchwork Sun Jan 9 05:56:35 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Randy Dunlap X-Patchwork-Id: 12707707 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id C4359C433F5 for ; Sun, 9 Jan 2022 05:56:57 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 5DC9E6B0073; Sun, 9 Jan 2022 00:56:57 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 565556B0074; Sun, 9 Jan 2022 00:56:57 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 454DA6B0075; Sun, 9 Jan 2022 00:56:57 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0073.hostedemail.com [216.40.44.73]) by kanga.kvack.org (Postfix) with ESMTP id 37F906B0073 for ; Sun, 9 Jan 2022 00:56:57 -0500 (EST) Received: from smtpin23.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay05.hostedemail.com (Postfix) with ESMTP id E0D4B182293DD for ; Sun, 9 Jan 2022 05:56:56 +0000 (UTC) X-FDA: 79009690032.23.2B16F05 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) by imf23.hostedemail.com (Postfix) with ESMTP id 3152A140009 for ; Sun, 9 Jan 2022 05:56:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type: Content-ID:Content-Description:In-Reply-To:References; bh=hfHrbUWm53dg29/Yt/DorGtbkOF3vLQS4YQI309TBF8=; b=dCiq4W+I7kpVX5gUrWPbvtZPNt KNILE6QUj75niBGjjHP4cATCifniKUqcpkEfUaOkB0TGA8lUjr63COe5ypjSYgeBUDR4p3U6A7SUU Ck9dKXJoTNvSz0xqSCXwSrZdoABfZCCm5JJYy4nVWjCMeHIEDi1Yf9KVUzOlBckNpfukXIJC7Yuph cuUGxDBDEl9n86hYLvuIvBWa+4m68Ht2DryC6Y5+Nb4z5rVRSbgWerN73SENS5Tl4LdMEg/i9vrE3 SLUss9mgRLwHt44i6Wx2aEplwcnNvt/e0x9i5k1DW8wDEBxYumhl+zpalK4TeykrJuDgJG4ukGliY zG+LgGHQ==; Received: from [2601:1c0:6280:3f0::aa0b] (helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1n6RC1-007Of2-8G; Sun, 09 Jan 2022 05:56:37 +0000 From: Randy Dunlap To: linux-kernel@vger.kernel.org Cc: Randy Dunlap , Stephen Rothwell , "Guilherme G . Piccoli" , Andrew Morton , linux-mm@kvack.org Subject: [PATCH] sysctl: documentation: fix table format warning Date: Sat, 8 Jan 2022 21:56:35 -0800 Message-Id: <20220109055635.6999-1-rdunlap@infradead.org> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 X-Rspamd-Server: rspam05 X-Rspamd-Queue-Id: 3152A140009 X-Stat-Signature: fxzmctic3ojbnu7kw5wtpkhnhyyhsuqy Authentication-Results: imf23.hostedemail.com; dkim=pass header.d=infradead.org header.s=bombadil.20210309 header.b=dCiq4W+I; spf=none (imf23.hostedemail.com: domain of rdunlap@infradead.org has no SPF policy when checking 198.137.202.133) smtp.mailfrom=rdunlap@infradead.org; dmarc=none X-HE-Tag: 1641707816-456892 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: Fix malformed table warning in sysctl documentation: (don't use ':'s) Documentation/admin-guide/sysctl/kernel.rst:798: WARNING: Malformed table. Text in column margin in table line 7. ===== ============================================ bit 0 print all tasks info bit 1 print system memory info bit 2 print timer info bit 3 print locks info if ``CONFIG_LOCKDEP`` is on bit 4 print ftrace buffer bit 5: print all printk messages in buffer bit 6: print all CPUs backtrace (if available in the arch) Fixes: 934d51cad60c ("docs: sysctl/kernel: add missing bit to panic_print") Fixes: addc64999934 ("panic: add option to dump all CPUs backtraces in panic_print") Signed-off-by: Randy Dunlap Reported-by: Stephen Rothwell Cc: Guilherme G. Piccoli Cc: Andrew Morton Cc: linux-mm@kvack.org Reviewed-by: Guilherme G. Piccoli --- Documentation/admin-guide/sysctl/kernel.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- linux-next-20220107.orig/Documentation/admin-guide/sysctl/kernel.rst +++ linux-next-20220107/Documentation/admin-guide/sysctl/kernel.rst @@ -795,8 +795,8 @@ bit 1 print system memory info bit 2 print timer info bit 3 print locks info if ``CONFIG_LOCKDEP`` is on bit 4 print ftrace buffer -bit 5: print all printk messages in buffer -bit 6: print all CPUs backtrace (if available in the arch) +bit 5 print all printk messages in buffer +bit 6 print all CPUs backtrace (if available in the arch) ===== ============================================ So for example to print tasks and memory info on panic, user can::