From mboxrd@z Thu Jan 1 00:00:00 1970 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,URIBL_BLOCKED autolearn=ham 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 A7516C43461 for ; Fri, 7 May 2021 01:03:45 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 8501C610FA for ; Fri, 7 May 2021 01:03:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234053AbhEGBEn (ORCPT ); Thu, 6 May 2021 21:04:43 -0400 Received: from mail.kernel.org ([198.145.29.99]:44824 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234033AbhEGBEn (ORCPT ); Thu, 6 May 2021 21:04:43 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 0612061289; Fri, 7 May 2021 01:03:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1620349424; bh=0Ou4fEwc8Ix+5iwioqd1DAGVQrMhAQJ/jfusfheC20I=; h=Date:From:To:Subject:In-Reply-To:From; b=fSck9PgA/j2VdnzX2XWqTvQXzvbWFQe9Smp5yTojr1uVJGx2dNg9RA5LNEN2Evtw7 ij/4pZMhgTJ9WCyCd2oNqD4MPQpGXTcs56Qg+qm0pLWjd175pSZwZoc0YiDPedS4cd wGhKG9fHdNbPrkw14lli0Hfze3FLQXPFLihwj/G8= Date: Thu, 06 May 2021 18:03:43 -0700 From: Andrew Morton To: akpm@linux-foundation.org, alexs@kernel.org, linux-mm@kvack.org, mm-commits@vger.kernel.org, nborisov@suse.com, swboyd@chromium.org, torvalds@linux-foundation.org Subject: [patch 32/91] lib/percpu_counter: tame kernel-doc compile warning Message-ID: <20210507010343.b4ZSv0bot%akpm@linux-foundation.org> In-Reply-To: <20210506180126.03e1baee7ca52bedb6cc6003@linux-foundation.org> User-Agent: s-nail v14.8.16 Precedence: bulk Reply-To: linux-kernel@vger.kernel.org List-ID: X-Mailing-List: mm-commits@vger.kernel.org From: Alex Shi Subject: lib/percpu_counter: tame kernel-doc compile warning commit 3e8f399da490 ("writeback: rework wb_[dec|inc]_stat family of functions") add some function description of percpu_counter_add_batch. but the double '*' in comments means a kernel-doc format comment which isn't right. Since the whole file of lib/percpu_counter.c has no any other kernel-doc format comments, we'd better to remove this incomplete one to tame the kernel-doc warning: lib/percpu_counter.c:83: warning: Function parameter or member 'fbc' not described in 'percpu_counter_add_batch' lib/percpu_counter.c:83: warning: Function parameter or member 'amount' not described in 'percpu_counter_add_batch' lib/percpu_counter.c:83: warning: Function parameter or member 'batch' not described in 'percpu_counter_add_batch' Link: https://lkml.kernel.org/r/20210405135505.132446-1-alexs@kernel.org Signed-off-by: Alex Shi Cc: Nikolay Borisov Cc: Stephen Boyd Signed-off-by: Andrew Morton --- lib/percpu_counter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/lib/percpu_counter.c~lib-percpu_counter-tame-kernel-doc-compile-warning +++ a/lib/percpu_counter.c @@ -72,7 +72,7 @@ void percpu_counter_set(struct percpu_co } EXPORT_SYMBOL(percpu_counter_set); -/** +/* * This function is both preempt and irq safe. The former is due to explicit * preemption disable. The latter is guaranteed by the fact that the slow path * is explicitly protected by an irq-safe spinlock whereas the fast patch uses _