Received: by 2002:a05:6358:16cd:b0:dc:6189:e246 with SMTP id r13csp355015rwl; Fri, 4 Nov 2022 00:53:48 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5yB/odr4p7XcEV3l/c4elkZ5DEdutmqOai9LWJ1IZSCarKn9/n1JUuRhN3ERBwk4BFqnh+ X-Received: by 2002:a17:906:9b92:b0:791:9355:cb89 with SMTP id dd18-20020a1709069b9200b007919355cb89mr32753893ejc.498.1667548428756; Fri, 04 Nov 2022 00:53:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667548428; cv=none; d=google.com; s=arc-20160816; b=SG9ixI8aDlqWjxNwbkdnRzhyLnSySRxMPW6XVSiRNie5Nl+Q8KGmNYDCCXtjB1UI8D qJrunwslugEuzYLBdBHyQBnGD99HMAWtVD0WFWMFhwLE330Pks2ClrsZJ4DEhd9GPQHC iMmVqONrIYJoWcfCmMiGGWMy0EAdTZddQmH2HLNxScLGWakpdZsgXImm/1JyUbsT6HCl jbsDfn9L1DuSn19Ne0QIwFkcPlIJ0v8KdXPmItqdct9qYBxgzFo+JVCYjNVgcOELJbWz 5io7LTQj8+KcU7bFHicfmEWu6XA8ks9JisSaN5QG3DyrKKijRNY12j1asjHK9F9zddty 5IIg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=sDgkwbk6hypIImswagZePXP8N1cYyNcgpr8gEuKI7ZQ=; b=yg3tSAiSgdLtiLTPnsUzLfspOwUru3OoQI9LhUQUuRuguIhvp4T1CboXORCtTigFv+ dJVTs5Am4zFAnYgYsIe5DXpNaE3Kx5Qdy2Ad8bAuhsvCJ2t6mRMABKf3XJUVLvoISrzI JsE+lYmVTc5cFZWm0DnMZ7us4QPm5cXHgv6mwiUmogIUQTgJ2Ora2NNZXSYvGPWbqiog JdxbxbayVUeVX0PX6MjH0prxp+FNfpCKYf98OP2ZaASDc/PEObh8bbjwDeH3Br/ZuJf+ /arbX7l7MbRjUK1OUQhgkm41bj07z2FMpWIq6obQsNbkqojOOfBkUHxZmYmAyLveiccj HxBA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n26-20020aa7c45a000000b004636ec90769si3822676edr.33.2022.11.04.00.53.23; Fri, 04 Nov 2022 00:53:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230045AbiKDGbb (ORCPT + 95 others); Fri, 4 Nov 2022 02:31:31 -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: 8bit X-Spam-Status: No, score=-9.9 required=5.0 tests=BAYES_00, ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2, SPF_HELO_NONE,SPF_PASS,UNPARSEABLE_RELAY,USER_IN_DEF_SPF_WL autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 in 'nla_policy_len' lib/nlattr.c:660: warning: Excess function parameter 'policy' description in 'nla_policy_len' Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=2736 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); /** * 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 -- 2.20.1.7.g153144c