From patchwork Wed Sep 8 02:58:51 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Morton X-Patchwork-Id: 12479999 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4AFD1C433FE for ; Wed, 8 Sep 2021 02:58:54 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 1B7B161100 for ; Wed, 8 Sep 2021 02:58:54 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 1B7B161100 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=linux-foundation.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=kvack.org Received: by kanga.kvack.org (Postfix) id BB3FD94003D; Tue, 7 Sep 2021 22:58:53 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id B635A900003; Tue, 7 Sep 2021 22:58:53 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id A2AA494003D; Tue, 7 Sep 2021 22:58:53 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0003.hostedemail.com [216.40.44.3]) by kanga.kvack.org (Postfix) with ESMTP id 9009D900003 for ; Tue, 7 Sep 2021 22:58:53 -0400 (EDT) Received: from smtpin11.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay04.hostedemail.com (Postfix) with ESMTP id 5476E31E66 for ; Wed, 8 Sep 2021 02:58:53 +0000 (UTC) X-FDA: 78562898946.11.E2CB984 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by imf04.hostedemail.com (Postfix) with ESMTP id 16F1550000A1 for ; Wed, 8 Sep 2021 02:58:52 +0000 (UTC) Received: by mail.kernel.org (Postfix) with ESMTPSA id 364AC60E52; Wed, 8 Sep 2021 02:58:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1631069932; bh=q2a53TECowJ/nCej29I44K5ajEbbZzbQeEKJpyolSIM=; h=Date:From:To:Subject:In-Reply-To:From; b=N011nfnUWLs6GjfiIXFWyYbdFG8I//KgDs5uepQFROTeGgsrsB2Z49dqx3OR1ipgQ IAY93ti266R7zJmDvQO034TV87jMUwdekC4ZaoFvI8PB8NO69q7qk05aHqOXf6myZv AC6a5/sJsm1V97n/61sK+1iDwfsJv9h7Ytr0mtfk= Date: Tue, 07 Sep 2021 19:58:51 -0700 From: Andrew Morton To: akpm@linux-foundation.org, linux-mm@kvack.org, mm-commits@vger.kernel.org, rdunlap@infradead.org, torvalds@linux-foundation.org Subject: [patch 105/147] lib/dump_stack: correct kernel-doc notation Message-ID: <20210908025851.yQjTej88p%akpm@linux-foundation.org> In-Reply-To: <20210907195226.14b1d22a07c085b22968b933@linux-foundation.org> User-Agent: s-nail v14.8.16 Authentication-Results: imf04.hostedemail.com; dkim=pass header.d=linux-foundation.org header.s=korg header.b=N011nfnU; dmarc=none; spf=pass (imf04.hostedemail.com: domain of akpm@linux-foundation.org designates 198.145.29.99 as permitted sender) smtp.mailfrom=akpm@linux-foundation.org X-Rspamd-Server: rspam03 X-Rspamd-Queue-Id: 16F1550000A1 X-Stat-Signature: mdsepsei6m4qe15apmpzc4d7jbmiui8u X-HE-Tag: 1631069932-416010 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: From: Randy Dunlap Subject: lib/dump_stack: correct kernel-doc notation Fix kernel-doc warnings in dump_stack.c: lib/dump_stack.c:97: warning: Function parameter or member 'log_lvl' not described in 'dump_stack_lvl' lib/dump_stack.c:97: warning: expecting prototype for dump_stack(). Prototype was for dump_stack_lvl() instead Link: https://lkml.kernel.org/r/20210809051643.17567-1-rdunlap@infradead.org Signed-off-by: Randy Dunlap Cc: Andrew Morton Signed-off-by: Andrew Morton --- lib/dump_stack.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) --- a/lib/dump_stack.c~lib-dump_stack-correct-kernel-doc-notation +++ a/lib/dump_stack.c @@ -89,7 +89,8 @@ static void __dump_stack(const char *log } /** - * dump_stack - dump the current task information and its stack trace + * dump_stack_lvl - dump the current task information and its stack trace + * @log_lvl: log level * * Architectures can override this implementation by implementing its own. */