From nobody Thu Apr 9 09:01:53 2026 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id A2D79C4332F for ; Fri, 4 Nov 2022 06:31:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230527AbiKDGbc (ORCPT ); Fri, 4 Nov 2022 02:31:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57882 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230294AbiKDGb0 (ORCPT ); Fri, 4 Nov 2022 02:31:26 -0400 Received: from out30-132.freemail.mail.aliyun.com (out30-132.freemail.mail.aliyun.com [115.124.30.132]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8679C2A96D for ; Thu, 3 Nov 2022 23:31:23 -0700 (PDT) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R841e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018046050;MF=yang.lee@linux.alibaba.com;NM=1;PH=DS;RN=6;SR=0;TI=SMTPD_---0VTveCmT_1667543480; Received: from localhost(mailfrom:yang.lee@linux.alibaba.com fp:SMTPD_---0VTveCmT_1667543480) by smtp.aliyun-inc.com; Fri, 04 Nov 2022 14:31:21 +0800 From: Yang Li To: fw@strlen.de Cc: davem@davemloft.net, kuba@kernel.org, linux-kernel@vger.kernel.org, Yang Li , Abaci Robot Subject: [PATCH -next] lib: Fix some kernel-doc comments Date: Fri, 4 Nov 2022 14:31:19 +0800 Message-Id: <20221104063119.76502-1-yang.lee@linux.alibaba.com> X-Mailer: git-send-email 2.20.1.7.g153144c MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" Make the description of @policy to @p in nla_policy_len() to clear the below warnings: lib/nlattr.c:660: warning: Function parameter or member 'p' not described i= n 'nla_policy_len' lib/nlattr.c:660: warning: Excess function parameter 'policy' description i= n 'nla_policy_len' Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=3D2736 Reported-by: Abaci Robot Signed-off-by: Yang Li --- lib/nlattr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/nlattr.c b/lib/nlattr.c index b67a53e29b8f..9055e8b4d144 100644 --- a/lib/nlattr.c +++ b/lib/nlattr.c @@ -646,7 +646,7 @@ EXPORT_SYMBOL(__nla_validate); =20 /** * nla_policy_len - Determine the max. length of a policy - * @policy: policy to use + * @p: policy to use * @n: number of policies * * Determines the max. length of the policy. It is currently used --=20 2.20.1.7.g153144c