From patchwork Fri Dec 22 22:06:42 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Randy Dunlap X-Patchwork-Id: 10131157 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id B73D760318 for ; Fri, 22 Dec 2017 22:06:59 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A91DB2A186 for ; Fri, 22 Dec 2017 22:06:59 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9DE5A2A189; Fri, 22 Dec 2017 22:06:59 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 41FE62A186 for ; Fri, 22 Dec 2017 22:06:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756259AbdLVWG4 (ORCPT ); Fri, 22 Dec 2017 17:06:56 -0500 Received: from merlin.infradead.org ([205.233.59.134]:51574 "EHLO merlin.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755934AbdLVWGz (ORCPT ); Fri, 22 Dec 2017 17:06:55 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=Content-Transfer-Encoding:Content-Type: MIME-Version:Date:Message-ID:Subject:From:Cc:To:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=HHixXQlMtmYLPiilHkIQNGyY1bh7QTcS2C5TAkH+Cj0=; b=xGgXhlbw/wDvxpwrEt6eG717nP ILlPhm9q9ocyCO/qp0z931+2XcAtj0z8mI+ITrwfjHmcBe5cgSW+LiWcKsXAfQWIpEXCLnyCiIysc DSTKFLvcFcMGtS84fgscIOeauI9otcKnqG6xo+pnLF1uhUFp3rhGThfoa2TFehmnq5ldlOEiSzonv p0AbFNwp/p4pyUH4XnwEN8wdv4v6iCrutAGijdV1VOzSkOOazNmD+v966vgCK91K4nZtIybzheTAD 8PiFN911e/39w7koYvdI42qFdm/tgcOsI8SRSgo8soisXZ/lU4PNPijoKhVp3/5W+cow1wofyKoIO PbDDNqPA==; Received: from static-50-53-52-16.bvtn.or.frontiernet.net ([50.53.52.16] helo=midway.dunlap) by merlin.infradead.org with esmtpsa (Exim 4.89 #1 (Red Hat Linux)) id 1eSVSl-0002QQ-PA; Fri, 22 Dec 2017 22:06:43 +0000 To: linux-scsi , target-devel Cc: "linux-rdma@vger.kernel.org" , "Nicholas A. Bellinger" , Sagi Grimberg , "James E.J. Bottomley" , "Martin K. Petersen" From: Randy Dunlap Subject: [PATCH] target: fix kernel-doc warnings in drivers/target/target_core_transport.c Message-ID: Date: Fri, 22 Dec 2017 14:06:42 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0 MIME-Version: 1.0 Content-Language: en-US Sender: linux-scsi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Randy Dunlap Correct a function parameter's name to eliminate kernel-doc warnings in drivers/target/target_core_transport.c. Fixes these kernel-doc warnings: (tested by adding these files to a new target.rst documentation file: WIP) ../drivers/target/target_core_transport.c:1671: warning: No description found for parameter 'fabric_tmr_ptr' ../drivers/target/target_core_transport.c:1671: warning: Excess function parameter 'fabric_context' description in 'target_submit_tmr' Signed-off-by: Randy Dunlap Cc: "Nicholas A. Bellinger" Cc: linux-scsi@vger.kernel.org Cc: target-devel@vger.kernel.org Cc: Sagi Grimberg Cc: linux-rdma@vger.kernel.org Cc: "James E.J. Bottomley" Cc: "Martin K. Petersen" --- drivers/target/target_core_transport.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- linux-next-20171221.orig/drivers/target/target_core_transport.c +++ linux-next-20171221/drivers/target/target_core_transport.c @@ -1654,7 +1654,7 @@ static bool target_lookup_lun_from_tag(s * @se_sess: associated se_sess for endpoint * @sense: pointer to SCSI sense buffer * @unpacked_lun: unpacked LUN to reference for struct se_lun - * @fabric_context: fabric context for TMR req + * @fabric_tmr_ptr: fabric context for TMR req * @tm_type: Type of TM request * @gfp: gfp type for caller * @tag: referenced task tag for TMR_ABORT_TASK