Message ID | 20231017030913.89973-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:a05:612c:2908:b0:403:3b70:6f57 with SMTP id ib8csp3868301vqb; Mon, 16 Oct 2023 20:09:48 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGeORcQbimDHII7aDmaxVciFi/9DyN5fdZzgiq6bhy7xYR56+ErL36vw8xINo3ya3gs2MNw X-Received: by 2002:a05:6a20:d80d:b0:163:c167:964a with SMTP id iv13-20020a056a20d80d00b00163c167964amr855385pzb.1.1697512187949; Mon, 16 Oct 2023 20:09:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697512187; cv=none; d=google.com; s=arc-20160816; b=MEAthgt9QXSst4rYS313hKaW8j24O4qpQcaygvuAWgxIEKoOnhcU72qxWLXRU8G4sq JwcF0Egezs9+QC53zGc6vDvzYtHhRtsPPzaGQNkDOh1cXgBVSomLcQMGejIJcwXtwcgv ZpGryR2tuA57zpCpccVcO/3afgQUggVO5l/J7K9gPu0sqbl2yf4K0TfYNpviOMIPF8dq JSvi+J4xI2/sylwFpvcHYkRzObmHy/PHYHozGjBPd7/z5+8FsWEMjrtUYzi40hBeVu0g e4+6L2WU8fpeTrs9dVhTvJyalqtZ9nIzFm1lbHZhOlUI8ClBoROPvmgdLgdY0fMY9xx1 YV9Q== 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=diJcNVp/67IgFZ4BspYgLJOQS1deWHnPeAACeZbabSE=; fh=/WCGi9Xa3am1azFSxUSALTofHO0Sv5wZLoUA2+wMzQ4=; b=pZSrKuMnDgA74Jo3qApRLgBmbm2/pG2BKRbFFssukP0Xtlz5HCNy/qMWG9BFOLGkFf FTtliPeVwL+/jsQtOG814DSpzFq1mzHobIGnZiJsvNxfvtBZcBwDds1DX1x21bAa7bkd i87hi9Mh/Gf7MulrGkKUpKoAyG8cC5c8fhQ+0uMUGMlP+JQvWtvLfXi3urTtDTxZnOtF B6+BcvaUkHNXnSwfGokgi1hOXVisIcSNtLfJ+AX83a4XwnEXOIxtN1DIQ4PHTRqvMRw/ 0GX9XV8fBSgXWhD/b02JUpH14olti7+WPwldKD+Ulm8ivLb2XIVghh8ytsVIy8q3Rt3/ PiSg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 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 pete.vger.email (pete.vger.email. [2620:137:e000::3:6]) by mx.google.com with ESMTPS id j14-20020a170903024e00b001c9e680c178si849837plh.394.2023.10.16.20.09.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Oct 2023 20:09:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) client-ip=2620:137:e000::3:6; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 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 (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id 648E480BC10E; Mon, 16 Oct 2023 20:09:45 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234097AbjJQDJW (ORCPT <rfc822;hjfbswb@gmail.com> + 19 others); Mon, 16 Oct 2023 23:09:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41752 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229666AbjJQDJU (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 16 Oct 2023 23:09:20 -0400 Received: from out30-113.freemail.mail.aliyun.com (out30-113.freemail.mail.aliyun.com [115.124.30.113]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C78AC93; Mon, 16 Oct 2023 20:09:17 -0700 (PDT) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R201e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018046056;MF=yang.lee@linux.alibaba.com;NM=1;PH=DS;RN=6;SR=0;TI=SMTPD_---0VuLNmRW_1697512154; Received: from localhost(mailfrom:yang.lee@linux.alibaba.com fp:SMTPD_---0VuLNmRW_1697512154) by smtp.aliyun-inc.com; Tue, 17 Oct 2023 11:09:15 +0800 From: Yang Li <yang.lee@linux.alibaba.com> To: martin.petersen@oracle.com Cc: linux-scsi@vger.kernel.org, target-devel@vger.kernel.org, linux-kernel@vger.kernel.org, Yang Li <yang.lee@linux.alibaba.com>, Abaci Robot <abaci@linux.alibaba.com> Subject: [PATCH -next] scsi: target: core: Fix one kernel-doc comment Date: Tue, 17 Oct 2023 11:09:13 +0800 Message-Id: <20231017030913.89973-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=-0.7 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,UNPARSEABLE_RELAY autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Mon, 16 Oct 2023 20:09:45 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1779970540254340690 X-GMAIL-MSGID: 1779970540254340690 |
Series |
[-next] scsi: target: core: Fix one kernel-doc comment
|
|
Commit Message
Yang Li
Oct. 17, 2023, 3:09 a.m. UTC
Fix one kernel-doc comment to silence the warnings:
drivers/target/target_core_transport.c:1930: warning: Excess function parameter 'cmd' description in 'target_submit'
drivers/target/target_core_transport.c:1930: warning: Function parameter or member 'se_cmd' not described in 'target_submit'
Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=6844
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
---
drivers/target/target_core_transport.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Comments
On 10/16/23 10:09 PM, Yang Li wrote: > Fix one kernel-doc comment to silence the warnings: > drivers/target/target_core_transport.c:1930: warning: Excess function parameter 'cmd' description in 'target_submit' > drivers/target/target_core_transport.c:1930: warning: Function parameter or member 'se_cmd' not described in 'target_submit' > > Reported-by: Abaci Robot <abaci@linux.alibaba.com> > Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=6844 > Signed-off-by: Yang Li <yang.lee@linux.alibaba.com> > --- > drivers/target/target_core_transport.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/target/target_core_transport.c b/drivers/target/target_core_transport.c > index c81def3c96df..670cfb7bd426 100644 > --- a/drivers/target/target_core_transport.c > +++ b/drivers/target/target_core_transport.c > @@ -1921,7 +1921,7 @@ static void target_queue_submission(struct se_cmd *se_cmd) > > /** > * target_submit - perform final initialization and submit cmd to LIO core > - * @cmd: command descriptor to submit > + * @se_cmd: command descriptor to submit > * > * target_submit_prep or something similar must have been called on the cmd, > * and this must be called from process context. Thanks. Reviewed-by: Mike Christie <michael.christie@oracle.com>
Yang, > Fix one kernel-doc comment to silence the warnings: > drivers/target/target_core_transport.c:1930: warning: Excess function > parameter 'cmd' description in 'target_submit' > drivers/target/target_core_transport.c:1930: warning: Function > parameter or member 'se_cmd' not described in 'target_submit' Applied to 6.7/scsi-staging, thanks!
On Tue, 17 Oct 2023 11:09:13 +0800, Yang Li wrote: > Fix one kernel-doc comment to silence the warnings: > drivers/target/target_core_transport.c:1930: warning: Excess function parameter 'cmd' description in 'target_submit' > drivers/target/target_core_transport.c:1930: warning: Function parameter or member 'se_cmd' not described in 'target_submit' > > Applied to 6.7/scsi-queue, thanks! [1/1] scsi: target: core: Fix one kernel-doc comment https://git.kernel.org/mkp/scsi/c/96f41cddbc7b
diff --git a/drivers/target/target_core_transport.c b/drivers/target/target_core_transport.c index c81def3c96df..670cfb7bd426 100644 --- a/drivers/target/target_core_transport.c +++ b/drivers/target/target_core_transport.c @@ -1921,7 +1921,7 @@ static void target_queue_submission(struct se_cmd *se_cmd) /** * target_submit - perform final initialization and submit cmd to LIO core - * @cmd: command descriptor to submit + * @se_cmd: command descriptor to submit * * target_submit_prep or something similar must have been called on the cmd, * and this must be called from process context.