Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp3495619pxf; Mon, 5 Apr 2021 13:46:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx+XhVLzARnAJThXDN3R4gU1CYVozQZcynGTSYJ58VKoGF8oHq8WllvlzVtTvUNXgYKK0ZP X-Received: by 2002:a92:c56f:: with SMTP id b15mr20574238ilj.41.1617655574793; Mon, 05 Apr 2021 13:46:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617655574; cv=none; d=google.com; s=arc-20160816; b=kvKr4J7qYPc/mkxo0cYrJKtm0xYRybjiLydh4nLEZHX+krKBY1QHnlBZ+VJZKj0eKV 4dINB3aRWCCHrH4sJFrQMSnb61rixbzgLbrLaYlpEGDX3UiaGnLwRBKpxmAphRz54gV5 gn5K3SweucdUhtOxuMOSTQ39Le/iVHGUUd9t/DoqY+eMzaF0bCeRsO7iXKVGHuwHn/iR yQTlO9yCYr2Scb0B56SPRJ6ek7btr6zbX9aBL1hGMjh7zJdFpqwc00ovudBA8JEZXq3a 1Vx6HVY/13SQLL7o94C0AC5vifDUZjl5elnZryz5eu2n9BIHZTY5hR72LNGSI78WmuPM WMgQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:content-transfer-encoding:mime-version :message-id:date:subject:cc:from:dkim-signature; bh=U1A53wiFqG5ECwFHX+T2DDoWq1wFgvFhZW6hlBNwKb0=; b=vshPtz/fBchurtWG8Z1HoEqH8dMwQmHw/cqoJ+Am6ENNnVIG6/yOCxo3QxN+yYBd+1 UlXZ11z+Q2DHjGPxPAUDCRilWDBXGQCajrr76YLTmEhV9IJVAYOm3sS9mL9+nwQ34YxF 4bYgg7OuP3GB28D6ybPlelWWvMg27CS2LJRUqezrse5vQl8wePbT5ZK2n0kuAUp+59b3 jNbJk0iAPy9d40qYXHulgsFchxzuHxL7ddnFFTfiyuY31VwOL29HSLnXR43QLVjdJ4y+ BAX/81df6YsXVJlCpRaniJ+wQZ1i9y4vvUu0p2eolqK/5i8K+ykCMKoBmoSzhBmrjHMq mnRg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@kernel.org header.s=k20201202 header.b=Ojey62Dp; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y16si17296171ili.97.2021.04.05.13.46.03; Mon, 05 Apr 2021 13:46:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@kernel.org header.s=k20201202 header.b=Ojey62Dp; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235796AbhDENzX (ORCPT + 99 others); Mon, 5 Apr 2021 09:55:23 -0400 Received: from mail.kernel.org ([198.145.29.99]:54450 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235748AbhDENzX (ORCPT ); Mon, 5 Apr 2021 09:55:23 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 3368D613A7; Mon, 5 Apr 2021 13:55:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1617630917; bh=KNkMGyWyPpAOtKuXWaT3d9ogjtm5L3cHyJ+lHcbdbpM=; h=From:To:Cc:Subject:Date:From; b=Ojey62DpsTgg3aU+FDHzTpjQWJUIbNEnTmKy7jVSVCdLWmGJbeQ/ji4Dxn6B1xEBg 3mn8Id1TBEHgoVSmaytU2WLc2cx7jpxNK8gEq8ufJhoMcXny0zyFokMuZOeZKyIPGP WImN0MDSzMh+kN3oL/ybEw9E+suFaxWG+A2hVONhteG2nFq8ZKyuzBppZAL0MvKtyO zTN3mzTr3IJ9ozy7TNHV07zGETzSCV9HQViLoUyq2v8XPB2Uv8dMGYF6ehi7xSsqFq SAC2x67BFh8eU+gsfIzFX9xPnW3oYyKf/AiYsgUpQZq3Gd7rETQDJcRwE5aJLDPXoJ lDFRRkvr4HymA== From: alexs@kernel.org Cc: Alex Shi , Nikolay Borisov , Andrew Morton , Stephen Boyd , linux-kernel@vger.kernel.org Subject: [PATCH] lib/percpu_counter: tame kernel-doc compile warning Date: Mon, 5 Apr 2021 21:55:05 +0800 Message-Id: <20210405135505.132446-1-alexs@kernel.org> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit To: unlisted-recipients:; (no To-header on input) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Alex Shi 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' Signed-off-by: Alex Shi Cc: Nikolay Borisov Cc: Andrew Morton Cc: Stephen Boyd Cc: linux-kernel@vger.kernel.org --- lib/percpu_counter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/percpu_counter.c b/lib/percpu_counter.c index 00f666d94486..ed610b75dc32 100644 --- a/lib/percpu_counter.c +++ b/lib/percpu_counter.c @@ -72,7 +72,7 @@ void percpu_counter_set(struct percpu_counter *fbc, s64 amount) } 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 -- 2.25.1