From patchwork Mon Nov 2 14:23:54 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 320302 Delivered-To: patch@linaro.org Received: by 2002:a92:7b12:0:0:0:0:0 with SMTP id w18csp3770357ilc; Mon, 2 Nov 2020 06:25:03 -0800 (PST) X-Google-Smtp-Source: ABdhPJzxrK+UXFhlEgn2KcBymHTmckSoHUTOx5DS+8R4OgA/HGmaf298qLH7JWWwZt287H6b5d1L X-Received: by 2002:a17:906:7844:: with SMTP id p4mr15459436ejm.26.1604327103226; Mon, 02 Nov 2020 06:25:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604327103; cv=none; d=google.com; s=arc-20160816; b=XNjHjL2Bw0FOGAlxtxCLB2sRWYq/KRFtGh+QzOS0nGfXXHZEIVJ7egm0NMbZX46jP2 7Yobmp5pIc7GO6BmHr1viqd1wyq/H75PhpoWb4wpWbEkENHlqJrIErAu6F0scXZHt185 vbim6pqSBVto5LmlNfWZE4vH7uVs6ox8lJEFEsitU1awpZWInyoOsuIryk/wq9vYv358 LcPnwuQKGyuJffCyE2/JwnVQJrrFeezCOoK/PhTdMUmJnPAB5MsX/YnSrouIZe9qbVfg jkMoNgpBxFaBm3bS19dhl/bFhcMBuTmQNHUmS7eH85cDRHPk03CxsiAp10mCRTL71M51 +I9Q== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=YiKuxEo/wRHTJJqPU7mxaF4N92praJWOsPzk81kg8ns=; b=BeS6yZ8Bzmu4eg0DIaDQTudn0GRZbKgUIgmBhwGLZcUXF/GbgtUhlgN0yshCTX9pD0 LBkWA0fs3Ihxnk+3MkRvOCrF3TtdhlKM1A4FZR2u6XYaNEnZLx3meECLujcupMXn8T7f P2bUwVvtvZkQo4wRoIySxrpclzJL9zACeuFAdUT9SjHKrRxODF01makLRU9gLzMc88F7 MuoY2QB78xoVizvbHvBUb5Z0yK8TxSUc9eadpg6WiNavypV+4XvuLFkodNs18a82sHav 3fdqgXQNPcfnXhFMlq/C3TlcFc/qxtIlIYkW4XoO4c+DSavxxoEzSl81JgwtMjBMgzan 3tTw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=tbjF9ZU5; spf=pass (google.com: domain of linux-scsi-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-scsi-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dp1si12559377ejc.286.2020.11.02.06.25.03 for ; Mon, 02 Nov 2020 06:25:03 -0800 (PST) Received-SPF: pass (google.com: domain of linux-scsi-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=tbjF9ZU5; spf=pass (google.com: domain of linux-scsi-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-scsi-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726310AbgKBOY5 (ORCPT ); Mon, 2 Nov 2020 09:24:57 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47932 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726294AbgKBOYX (ORCPT ); Mon, 2 Nov 2020 09:24:23 -0500 Received: from mail-wr1-x431.google.com (mail-wr1-x431.google.com [IPv6:2a00:1450:4864:20::431]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 27317C0617A6 for ; Mon, 2 Nov 2020 06:24:23 -0800 (PST) Received: by mail-wr1-x431.google.com with SMTP id i16so9412465wrv.1 for ; Mon, 02 Nov 2020 06:24:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=YiKuxEo/wRHTJJqPU7mxaF4N92praJWOsPzk81kg8ns=; b=tbjF9ZU5V9QQwA7I40gxdrkwTvBLFOqeWGReA3201tpEwPfps0rEKTURYPc6d5P5pM 5UBLpjxpqej1MQ1XjWiUbSNdxWGozwxXrb7Qf9cAqD8DkKbQzfuBvODPNf6T/icrg6Wr bGGL6vz56QVMnfpeQ1FqIXwxHgeqpPGdwFeOzM6+9NLh9lM6CPMA/SVCm4OZFqlqSv4+ LqjCg5QG2eAxonev8i4VGcavO511CS2k9mk062USbmTCughEToBclX3L6qJVPaOLiH8J tFKHCWASs4zfGKb92o6Ay3gQgM7hczy/HtM3PN2e7p+13Q2YOTEWucY2I/FMnniKlCzI COMw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=YiKuxEo/wRHTJJqPU7mxaF4N92praJWOsPzk81kg8ns=; b=ETvtuWC1q4FHPfLhDJKXctY+rlRQxqf0qNsFrG3os7rOiKjytDLq/BTHJuuNZ6ewdy 0t/kVoscoIr1OruPx7z0PI6FkKmJBd7YCYwcUrVS+Peq9MfwUrVGO32myFOMFMlL2ztn OIQDhlPqee7VroypGmWxFp5ZLi8P0BKihVvgHmt2V3YOzF6JijuKwvICECCOH0NoO29z yyZ/bwWp7B6L9FFM1ZWUEqrLShSCAkaFmX1zA06ifa19Uog/O8VARCuge1A6CfA1fE+x WpJH7pfuZ5gui/cm7n2pDXhSgUxmTT0KHyzelXlWuKJt+nFIztYhzSRT+fmCuFloJ+Z8 2BsQ== X-Gm-Message-State: AOAM533GraqL2Fqz3hivoHtzZfyDLKnxMgeTmG5R83/MZkkfU8kumxXh MgpkMaaTm2qM1rxmCNYeF+esOQ== X-Received: by 2002:adf:eace:: with SMTP id o14mr21089866wrn.308.1604327061915; Mon, 02 Nov 2020 06:24:21 -0800 (PST) Received: from dell.default ([91.110.221.242]) by smtp.gmail.com with ESMTPSA id f7sm23542501wrx.64.2020.11.02.06.24.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Nov 2020 06:24:21 -0800 (PST) From: Lee Jones To: martin.petersen@oracle.com, jejb@linux.ibm.com Cc: linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org, Lee Jones , James Smart , Dick Kennedy Subject: [RESEND 14/19] scsi: lpfc: lpfc_nvmet: Fix-up some formatting and doc-rot issues Date: Mon, 2 Nov 2020 14:23:54 +0000 Message-Id: <20201102142359.561122-15-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201102142359.561122-1-lee.jones@linaro.org> References: <20201102142359.561122-1-lee.jones@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/scsi/lpfc/lpfc_nvmet.c:386: warning: Function parameter or member 'ctx_buf' not described in 'lpfc_nvmet_ctxbuf_post' drivers/scsi/lpfc/lpfc_nvmet.c:386: warning: Excess function parameter 'ctxp' description in 'lpfc_nvmet_ctxbuf_post' drivers/scsi/lpfc/lpfc_nvmet.c:386: warning: Excess function parameter 'mp' description in 'lpfc_nvmet_ctxbuf_post' drivers/scsi/lpfc/lpfc_nvmet.c:1310: warning: Function parameter or member 'targetport' not described in 'lpfc_nvmet_ls_req' drivers/scsi/lpfc/lpfc_nvmet.c:1310: warning: Function parameter or member 'hosthandle' not described in 'lpfc_nvmet_ls_req' drivers/scsi/lpfc/lpfc_nvmet.c:1310: warning: Function parameter or member 'pnvme_lsreq' not described in 'lpfc_nvmet_ls_req' drivers/scsi/lpfc/lpfc_nvmet.c:1350: warning: Function parameter or member 'hosthandle' not described in 'lpfc_nvmet_ls_abort' drivers/scsi/lpfc/lpfc_nvmet.c:1350: warning: Function parameter or member 'pnvme_lsreq' not described in 'lpfc_nvmet_ls_abort' drivers/scsi/lpfc/lpfc_nvmet.c:3607: warning: Function parameter or member 'phba' not described in 'lpfc_nvmet_invalidate_host' drivers/scsi/lpfc/lpfc_nvmet.c:3607: warning: Function parameter or member 'ndlp' not described in 'lpfc_nvmet_invalidate_host' Cc: James Smart Cc: Dick Kennedy Signed-off-by: Lee Jones --- drivers/scsi/lpfc/lpfc_nvmet.c | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) -- 2.25.1 diff --git a/drivers/scsi/lpfc/lpfc_nvmet.c b/drivers/scsi/lpfc/lpfc_nvmet.c index d4ade7cdb93a9..675253093e877 100644 --- a/drivers/scsi/lpfc/lpfc_nvmet.c +++ b/drivers/scsi/lpfc/lpfc_nvmet.c @@ -371,8 +371,7 @@ lpfc_nvmet_xmt_ls_rsp_cmp(struct lpfc_hba *phba, struct lpfc_iocbq *cmdwqe, /** * lpfc_nvmet_ctxbuf_post - Repost a NVMET RQ DMA buffer and clean up context * @phba: HBA buffer is associated with - * @ctxp: context to clean up - * @mp: Buffer to free + * @ctx_buf: ctx buffer context * * Description: Frees the given DMA buffer in the appropriate way given by * reposting it to its associated RQ so it can be reused. @@ -1291,10 +1290,10 @@ lpfc_nvmet_ls_req_cmp(struct lpfc_hba *phba, struct lpfc_iocbq *cmdwqe, /** * lpfc_nvmet_ls_req - Issue an Link Service request - * @targetport - pointer to target instance registered with nvmet transport. - * @hosthandle - hosthandle set by the driver in a prior ls_rqst_rcv. + * @targetport: pointer to target instance registered with nvmet transport. + * @hosthandle: hosthandle set by the driver in a prior ls_rqst_rcv. * Driver sets this value to the ndlp pointer. - * @pnvme_lsreq - the transport nvme_ls_req structure for the LS + * @pnvme_lsreq: the transport nvme_ls_req structure for the LS * * Driver registers this routine to handle any link service request * from the nvme_fc transport to a remote nvme-aware port. @@ -1336,9 +1335,9 @@ lpfc_nvmet_ls_req(struct nvmet_fc_target_port *targetport, /** * lpfc_nvmet_ls_abort - Abort a prior NVME LS request * @targetport: Transport targetport, that LS was issued from. - * @hosthandle - hosthandle set by the driver in a prior ls_rqst_rcv. + * @hosthandle: hosthandle set by the driver in a prior ls_rqst_rcv. * Driver sets this value to the ndlp pointer. - * @pnvme_lsreq - the transport nvme_ls_req structure for LS to be aborted + * @pnvme_lsreq: the transport nvme_ls_req structure for LS to be aborted * * Driver registers this routine to abort an NVME LS request that is * in progress (from the transports perspective). @@ -3596,8 +3595,8 @@ lpfc_nvme_unsol_ls_issue_abort(struct lpfc_hba *phba, /** * lpfc_nvmet_invalidate_host * - * @phba - pointer to the driver instance bound to an adapter port. - * @ndlp - pointer to an lpfc_nodelist type + * @phba: pointer to the driver instance bound to an adapter port. + * @ndlp: pointer to an lpfc_nodelist type * * This routine upcalls the nvmet transport to invalidate an NVME * host to which this target instance had active connections.