Message ID | 20221107062623.6709-1-yang.lee@linux.alibaba.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp1869374wru; Sun, 6 Nov 2022 22:29:11 -0800 (PST) X-Google-Smtp-Source: AMsMyM76j3oaVaZmmoEOMwDGscNfK483OvlUm2XgWilTSIQ8b9S9cZKFV2Od3BAbeUOWdLUJFxeC X-Received: by 2002:a17:907:3f85:b0:733:3f0e:2f28 with SMTP id hr5-20020a1709073f8500b007333f0e2f28mr44339377ejc.376.1667802550903; Sun, 06 Nov 2022 22:29:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1667802550; cv=none; d=google.com; s=arc-20160816; b=a5uCyNT1ChAMQOTnCD7jUIJm0boQL4HJ/XCsyhAJKCzLBfk01fjasnwvwBHLtBm27I H84kkg9/Yus1yCN22kFGtbtbKboIOYtEh2LYvoGfeFTvJdU1enBdhyYeCsIY5YBJOXnZ EBuRKVYQlOoa7ANrpvCTjbDBykLcXRhB2cibXcqBhVBSiyvUXqqvibVWsRkyfSJNlAa1 YR9YP6NFWosUtS+naAlRTNcgJrttkgnfVsx3qTNKC3crDtrxPmDctW2F43EP1/MW7Pff wc/Nc3Jc3LFp1tZPxMY+kaoeZuxQFNZ+UB3i+ove71rHqBN9ly1KBQDKIo3GzIHasT4I +r8A== 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=By/w54GaCWxb7+BUNnOqlrzn5U2HrWR8G+/CsRY4Q5/HCJeGvbZJujF1O/+rWNXzHJ 3TOtWmntauTB4gcH1Io55dy2Sq5GVzrMqMvk79lCnh7IHOR6dSxxAGa2Cnd82cwTeLZC 0ej4PwoEL34lev4stWCjqCRmzcvCPvvLb6iY/KKKOyx4WLPbvAgyj7EBLE1bwEkqtS6B t16qlYz+bHH6NCYOsOescoWPR5Emkt3cP9bwj1wSEnAw4Ydm/tSncw+VH0G4wfi7QNwd c81jObpkOd8XYq9nBnsQgqPJ5gjH4yPwF6bQycZbopvC8pPKL6Kyy7iRJTu+VwSPqJbA weuw== 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j14-20020a170906094e00b0076ed46e4440si6472125ejd.636.2022.11.06.22.28.46; Sun, 06 Nov 2022 22:29:10 -0800 (PST) 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 S231436AbiKGG0v (ORCPT <rfc822;hjfbswb@gmail.com> + 99 others); Mon, 7 Nov 2022 01:26:51 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41462 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231317AbiKGG0b (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 7 Nov 2022 01:26:31 -0500 Received: from out30-131.freemail.mail.aliyun.com (out30-131.freemail.mail.aliyun.com [115.124.30.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7CF2712AFA; Sun, 6 Nov 2022 22:26:28 -0800 (PST) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R141e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018045168;MF=yang.lee@linux.alibaba.com;NM=1;PH=DS;RN=7;SR=0;TI=SMTPD_---0VU6xedu_1667802385; Received: from localhost(mailfrom:yang.lee@linux.alibaba.com fp:SMTPD_---0VU6xedu_1667802385) by smtp.aliyun-inc.com; Mon, 07 Nov 2022 14:26:26 +0800 From: Yang Li <yang.lee@linux.alibaba.com> To: kuba@kernel.org Cc: davem@davemloft.net, fw@strlen.de, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Yang Li <yang.lee@linux.alibaba.com>, Abaci Robot <abaci@linux.alibaba.com> Subject: [PATCH -next] lib: Fix some kernel-doc comments Date: Mon, 7 Nov 2022 14:26:23 +0800 Message-Id: <20221107062623.6709-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,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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1748817727590662468?= X-GMAIL-MSGID: =?utf-8?q?1748817727590662468?= |
Series |
[-next] lib: Fix some kernel-doc comments
|
|
Commit Message
Yang Li
Nov. 7, 2022, 6:26 a.m. UTC
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 <abaci@linux.alibaba.com>
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
---
lib/nlattr.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Comments
Hello: This patch was applied to netdev/net-next.git (master) by Jakub Kicinski <kuba@kernel.org>: On Mon, 7 Nov 2022 14:26:23 +0800 you wrote: > 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 <abaci@linux.alibaba.com> > Signed-off-by: Yang Li <yang.lee@linux.alibaba.com> > > [...] Here is the summary with links: - [-next] lib: Fix some kernel-doc comments https://git.kernel.org/netdev/net-next/c/8e18be7610ae You are awesome, thank you!
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