From patchwork Fri Mar 12 09:47:21 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 398518 Delivered-To: patch@linaro.org Received: by 2002:a02:8562:0:0:0:0:0 with SMTP id g89csp1050504jai; Fri, 12 Mar 2021 01:49:18 -0800 (PST) X-Google-Smtp-Source: ABdhPJy3uUrN7+PRfsWgrbsHAGD86oDFRcOO9QvQMqNpJ5exW1y+NGcdRpe/tKyo7hfPrllqWsFe X-Received: by 2002:a17:906:82c5:: with SMTP id a5mr7899961ejy.232.1615542558821; Fri, 12 Mar 2021 01:49:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615542558; cv=none; d=google.com; s=arc-20160816; b=Fs0OZz2DscrFS8oyZlqm69PYNL4aTTENbQyzosqf1Lg7pT8nK0OvY7PL86OAL706ec 3GSeeWhJxC+EyZQx5kK7wOOwYJVlGZsbkr6u1HGdPzsDEe/IPoYKFvdi8R/QVjQLsj9h SpeDvLDJcQx/legfvfBUJqpr6KC08nQyngKYmpd9t3vOtYC0ha8R6EJkCyFvptNNzvEN ad9KvOvf1+knuAAwtwIUAnDR9YmbR+pzSNwXhUk4m4ftYehVK2qPIbQdSvyc3g1S0lo+ RZ7NvpyutiCrfyegwa6QEBQK++lPylN4v++Z76uzmTepfDK2IS/yOJdw5dmtrXXb/kqQ 1hyg== 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=LUTl6374hjxEzzjAtH58mHOxzvcGWyfAK+Rs8bCebzw=; b=KLiODxauebw0ItiZveZ9cPW7jZ+QRZzQ5XCppIAHrA1TCxeFpakSoch3gmhaBXrlzJ P9OdgwxUGAgAQDWbc5nkTjj9Cc8x2PTmK7leVPaJp1b8cAL+UpwcsxjSwu9HfZMX/H9J PiBWuVsn87qq5eiffHWN7/OH0r68Lx7P7rv4+0wMC92fmi6+lT2BjseDiQ71u/chr/bz j/zIbN8ZUE3dtvHOYxg+vxRxyzUmnX6cwFeZiwmK0fqWVPRiS/0XC/KOAE2GjXYEcHFl S+Dm7jh1PA+1TPvdO9jhKCwLHD1lch4sdlLpW4DKl7d7HxxEfs3JkhwMOkQeaFAQ0clW 3nJQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Hh6zFui7; 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 cf6si3710544ejb.272.2021.03.12.01.49.18 for ; Fri, 12 Mar 2021 01:49:18 -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=Hh6zFui7; 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 S233187AbhCLJsi (ORCPT ); Fri, 12 Mar 2021 04:48:38 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54506 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233049AbhCLJsE (ORCPT ); Fri, 12 Mar 2021 04:48:04 -0500 Received: from mail-wm1-x335.google.com (mail-wm1-x335.google.com [IPv6:2a00:1450:4864:20::335]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 41FC5C0613D7 for ; Fri, 12 Mar 2021 01:48:04 -0800 (PST) Received: by mail-wm1-x335.google.com with SMTP id y124-20020a1c32820000b029010c93864955so15387224wmy.5 for ; Fri, 12 Mar 2021 01:48:04 -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=LUTl6374hjxEzzjAtH58mHOxzvcGWyfAK+Rs8bCebzw=; b=Hh6zFui7TwDn62/fwoASFc2WJnZn7cfVhnggojLiwpEHU6m48GwA0Lnx70kBF5ANG1 20F+vJb7p5+wSCdx945D/L5JHQutDAnvsfvQIvQ3nFS8dC2MhtOzyApGrceHEjti/RMb XFfHi6yUPyANab+8/0QfMzKjdkxj/iyG9YVFreuTjGV9+B0YKbHV0QmZYD2x6PFIxfcA 2mUd2ivVz9n13uBEkKatPUtdhkdjL2BZeoPc5u/DR41wJZfAm4ynWx0gLig0uR4OFZp3 JeUfFBr+fVAriffDt7K+/1352rpnWyWDUQPfVwP9SsNTVzKH3MfrTtKJOBdWpdaPQgBD 9VsQ== 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=LUTl6374hjxEzzjAtH58mHOxzvcGWyfAK+Rs8bCebzw=; b=nOeMbVzuAwQuMId0GLO5QKOlVoUp5EGg92UBp3z77t5wD19FW1haP841aaycfDOQgB WDKoirJd4/EwHEt4b1G85sxbL4X/PeQ4ARMvhkqbh/qJ4bCJuUxT0jwJgZo/wgzQ7iJM rqwESJeeFEt2z658YC3o9fGTpz1qqLr8IagP4OQIJPCFj8YxdsuexRbf0alcdfiFw+WY SBYr/Cg0y2qsGZsVe9bHtRYCBio5IYeQRHoHxMGulY0QLnWvbFayJ2wEPAfa0yzyCzpG ZtYHqEJPWsMJYZE3gd8A1lOIm0WltlPz5fCJP/2IShf+gzIpSrZ6rAThT8koyu3ZC0Lb IgsA== X-Gm-Message-State: AOAM533Kv1LdN7KB2kCmfvjrxadRWKAK1fNMJf3UTnruZucFtOS8ttzf 6bEdVQCZzS7T8g0Opy1rsZ2Kjg== X-Received: by 2002:a05:600c:4a06:: with SMTP id c6mr12177115wmp.35.1615542482970; Fri, 12 Mar 2021 01:48:02 -0800 (PST) Received: from dell.default ([91.110.221.204]) by smtp.gmail.com with ESMTPSA id f7sm1539536wmq.11.2021.03.12.01.48.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Mar 2021 01:48:02 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, James Smart , Dick Kennedy , "James E.J. Bottomley" , "Martin K. Petersen" , linux-scsi@vger.kernel.org Subject: [PATCH 13/30] scsi: lpfc: lpfc_bsg: Fix a few incorrectly named functions Date: Fri, 12 Mar 2021 09:47:21 +0000 Message-Id: <20210312094738.2207817-14-lee.jones@linaro.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20210312094738.2207817-1-lee.jones@linaro.org> References: <20210312094738.2207817-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_bsg.c:3591: warning: expecting prototype for lpfc_bsg_mbox_ext_cleanup(). Prototype was for lpfc_bsg_mbox_ext_session_reset() instead drivers/scsi/lpfc/lpfc_bsg.c:3885: warning: expecting prototype for lpfc_bsg_sli_cfg_mse_read_cmd_ext(). Prototype was for lpfc_bsg_sli_cfg_read_cmd_ext() instead drivers/scsi/lpfc/lpfc_bsg.c:4371: warning: expecting prototype for lpfc_bsg_mbox_ext_abort_req(). Prototype was for lpfc_bsg_mbox_ext_abort() instead Cc: James Smart Cc: Dick Kennedy Cc: "James E.J. Bottomley" Cc: "Martin K. Petersen" Cc: linux-scsi@vger.kernel.org Signed-off-by: Lee Jones --- drivers/scsi/lpfc/lpfc_bsg.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) -- 2.27.0 diff --git a/drivers/scsi/lpfc/lpfc_bsg.c b/drivers/scsi/lpfc/lpfc_bsg.c index b974d39d233b8..503540cf20414 100644 --- a/drivers/scsi/lpfc/lpfc_bsg.c +++ b/drivers/scsi/lpfc/lpfc_bsg.c @@ -3580,7 +3580,7 @@ static int lpfc_bsg_check_cmd_access(struct lpfc_hba *phba, } /** - * lpfc_bsg_mbox_ext_cleanup - clean up context of multi-buffer mbox session + * lpfc_bsg_mbox_ext_session_reset - clean up context of multi-buffer mbox session * @phba: Pointer to HBA context object. * * This is routine clean up and reset BSG handling of multi-buffer mbox @@ -3869,7 +3869,7 @@ lpfc_bsg_sli_cfg_dma_desc_setup(struct lpfc_hba *phba, enum nemb_type nemb_tp, } /** - * lpfc_bsg_sli_cfg_mse_read_cmd_ext - sli_config non-embedded mailbox cmd read + * lpfc_bsg_sli_cfg_read_cmd_ext - sli_config non-embedded mailbox cmd read * @phba: Pointer to HBA context object. * @job: Pointer to the job object. * @nemb_tp: Enumerate of non-embedded mailbox command type. @@ -4360,7 +4360,7 @@ lpfc_bsg_handle_sli_cfg_mbox(struct lpfc_hba *phba, struct bsg_job *job, } /** - * lpfc_bsg_mbox_ext_abort_req - request to abort mbox command with ext buffers + * lpfc_bsg_mbox_ext_abort - request to abort mbox command with ext buffers * @phba: Pointer to HBA context object. * * This routine is for requesting to abort a pass-through mailbox command with