Message ID | 20230731015915.34867-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:a59:918b:0:b0:3e4:2afc:c1 with SMTP id s11csp1756888vqg; Sun, 30 Jul 2023 19:23:45 -0700 (PDT) X-Google-Smtp-Source: APBJJlGqn2dHVSzDIGxN9rHFcv+jsWzaJwsNcC0eXSQ+94jxqbzAGyvPghQwXE8l/WGUpYpos9LE X-Received: by 2002:aa7:d1d1:0:b0:51e:d4b:3c9d with SMTP id g17-20020aa7d1d1000000b0051e0d4b3c9dmr6918262edp.23.1690770225288; Sun, 30 Jul 2023 19:23:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690770225; cv=none; d=google.com; s=arc-20160816; b=rvUsWlnSeZegdau613zy+mBTmOtwJqfgVY4V8HnzAaVN1CjsPrZFLfuOAQBB75yMV3 jl1P44JwIJ8GlF5FJvlxEgsNfhrxPtaTXMeemmF53RhV8P/NZ3HOy6Ika4Wu+zF3HwWM lEJTEeRRcYEIJwpyQZh6p5AaxGSGHo9XIDn1JGDBl1b2p5NsLOPxiCY9dTqXvrWNiWsH QJpz+WUbVVHS7i0fHAeQfa0jU+3ZB+0uAkRhBSGO1MDnOVUXD0edO4EOeXIegyomAoH2 1kKQ2auwiLlg21L9dxMqN3dRKRAoQ886+3lrBPSamGUGXaG8jejgGYeVrgyZ3cIAU6tn dUQg== 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=kwuU9QYy1cCDQUfz0x3njaA6Yx9/yhjS3KFKDs6Qdoc=; fh=MhLluAsgodA/q/9rYTLt/5tSjF4NUPwk5+IGx3qXA3Y=; b=uC+MWMHWOr4rfI/ucWyU5dAYxY+thTfKs5l3JKJQu+//EpGUKoAm8bZ0GGlVUzTSjs yx0eGAeLpfs87ody+wg5iqOkFO+JL3J9t4KBkCfGIaALgF19j21f0HMWaa9mHY+kW+5V ZSRhgqNvnPha/vo8GKRKJ0ZcsgSzD97fvydIOJAAkPbFEsfP5aqNNbtndixHPhsaDgJ8 0a+6yUGmCZRLIT4eRrunLxnwkZbNzgqo7vr8gplJ7uQfZJ+VSfTXojtdumzSaWlxtqoN X6AL4uqXLbktKkWIB07XrxP3JjPgUTXEDebgBcIVTmA0DnlOvwq4vkF2KKpgpNItmgxo eAWQ== 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 k26-20020a05640212da00b00522cb465982si602205edx.666.2023.07.30.19.23.21; Sun, 30 Jul 2023 19:23:45 -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 S229722AbjGaB7X (ORCPT <rfc822;maxi.paulin@gmail.com> + 99 others); Sun, 30 Jul 2023 21:59:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53748 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229469AbjGaB7W (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Sun, 30 Jul 2023 21:59:22 -0400 Received: from out30-99.freemail.mail.aliyun.com (out30-99.freemail.mail.aliyun.com [115.124.30.99]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4AD77D7; Sun, 30 Jul 2023 18:59:20 -0700 (PDT) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R191e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018046049;MF=yang.lee@linux.alibaba.com;NM=1;PH=DS;RN=8;SR=0;TI=SMTPD_---0VoX5LFV_1690768756; Received: from localhost(mailfrom:yang.lee@linux.alibaba.com fp:SMTPD_---0VoX5LFV_1690768756) by smtp.aliyun-inc.com; Mon, 31 Jul 2023 09:59:17 +0800 From: Yang Li <yang.lee@linux.alibaba.com> To: mustafa.ismail@intel.com, shiraz.saleem@intel.com, jgg@ziepe.ca, leon@kernel.org, linux-rdma@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Yang Li <yang.lee@linux.alibaba.com>, Abaci Robot <abaci@linux.alibaba.com> Subject: [PATCH -next] RDMA/irdma: Fix one kernel-doc comment Date: Mon, 31 Jul 2023 09:59:15 +0800 Message-Id: <20230731015915.34867-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_BLOCKED,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,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: INBOX X-GMAIL-THRID: 1772901080124914668 X-GMAIL-MSGID: 1772901080124914668 |
Series |
[-next] RDMA/irdma: Fix one kernel-doc comment
|
|
Commit Message
Yang Li
July 31, 2023, 1:59 a.m. UTC
Remove description of @free_hwcqp in irdma_destroy_cqp().
to silence the warning:
drivers/infiniband/hw/irdma/hw.c:580: warning: Excess function parameter 'free_hwcqp' description in 'irdma_destroy_cqp'
Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=6028
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
---
drivers/infiniband/hw/irdma/hw.c | 1 -
1 file changed, 1 deletion(-)
Comments
On 7/30/23 18:59, Yang Li wrote: > Remove description of @free_hwcqp in irdma_destroy_cqp(). > to silence the warning: > > drivers/infiniband/hw/irdma/hw.c:580: warning: Excess function parameter 'free_hwcqp' description in 'irdma_destroy_cqp' > > Reported-by: Abaci Robot <abaci@linux.alibaba.com> > Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=6028 > Signed-off-by: Yang Li <yang.lee@linux.alibaba.com> Reviewed-by: Randy Dunlap <rdunlap@infradead.org> Thanks. > --- > drivers/infiniband/hw/irdma/hw.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/drivers/infiniband/hw/irdma/hw.c b/drivers/infiniband/hw/irdma/hw.c > index eaf196985f49..7cbdd5433dba 100644 > --- a/drivers/infiniband/hw/irdma/hw.c > +++ b/drivers/infiniband/hw/irdma/hw.c > @@ -571,7 +571,6 @@ static void irdma_destroy_irq(struct irdma_pci_f *rf, > /** > * irdma_destroy_cqp - destroy control qp > * @rf: RDMA PCI function > - * @free_hwcqp: 1 if hw cqp should be freed > * > * Issue destroy cqp request and > * free the resources associated with the cqp
On Mon, 31 Jul 2023 09:59:15 +0800, Yang Li wrote: > Remove description of @free_hwcqp in irdma_destroy_cqp(). > to silence the warning: > > drivers/infiniband/hw/irdma/hw.c:580: warning: Excess function parameter 'free_hwcqp' description in 'irdma_destroy_cqp' > > Applied, thanks! [1/1] RDMA/irdma: Fix one kernel-doc comment https://git.kernel.org/rdma/rdma/c/d43ea9c3d52f2e Best regards,
diff --git a/drivers/infiniband/hw/irdma/hw.c b/drivers/infiniband/hw/irdma/hw.c index eaf196985f49..7cbdd5433dba 100644 --- a/drivers/infiniband/hw/irdma/hw.c +++ b/drivers/infiniband/hw/irdma/hw.c @@ -571,7 +571,6 @@ static void irdma_destroy_irq(struct irdma_pci_f *rf, /** * irdma_destroy_cqp - destroy control qp * @rf: RDMA PCI function - * @free_hwcqp: 1 if hw cqp should be freed * * Issue destroy cqp request and * free the resources associated with the cqp