From patchwork Fri Mar 12 09:47:19 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 398529 Delivered-To: patch@linaro.org Received: by 2002:a02:8562:0:0:0:0:0 with SMTP id g89csp1050625jai; Fri, 12 Mar 2021 01:49:27 -0800 (PST) X-Google-Smtp-Source: ABdhPJzEW4ZbrbyhqhmCt8icpcT8VAniPHbtvkiRdkhh2Xk+3XjEnPfkJ89kdiLC/BAO15D4xhSB X-Received: by 2002:a17:906:2803:: with SMTP id r3mr7594874ejc.50.1615542567129; Fri, 12 Mar 2021 01:49:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615542567; cv=none; d=google.com; s=arc-20160816; b=c530NgYrtDygRKaVklWEkU/UTSf/Ihfbi23C2nYhF2yBrvEaaihZP2ddtCusOKu7Vj Cpc/mnyOP3MrRkAL9GOx1bO6hKntkdK9E7nRicbuzzyNr4u2otw3iBwYvNfpzISwx/+1 SC/1hD/Zkyx5bMtLvA33ivPQSUGw3IrJ76+1CcSH5dfBvGnzgTdUt/z/4s3qBUTJKxi3 x6m2GKsGkm41r0dEH2+mrRcJnivUfyeT5DVQRqOf2prtASpqR66S2ggJXA3A1vSTOJC1 BAW7E/DB29tG17Y+DbJCYUj+ydXbxWnJti0O5HzJAAgomG6KOb1zR71L5AeZYvhaFPr7 xfNQ== 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=N9wGEZYJoAIhx351pyXi5TmAw4uiOf0aUU7wFJx73AA=; b=jc6+qKlBcaKfn7s+3l7FjtS/jJJKAo4+5+ccd0WZEzkt2gJSBKp2enKZeZxa8h+ae6 84ax5grdZS9kknp+BFnqoKh/xjCy4lq/RCKVBSvrn1C5Oq00IPIhJu6CmKHsc2YY4pP5 FC2Pt/mKxsWvK+p5ZnJzINuQQtBIu8t/lUrvSLjs8ksoKNSAYBRV7KxkEP3VbHmJJvQP a9yxxvtKMU0fk6u5IL1ZIYt+iILELJw0VlV39KFY2aptzaTpUc6QS8AO4oC9X2dXOv/V zbtTLGrBU2nTiPZ6QPONHuB2ApfESb0mfuiW9osICKxTGc54G99GdUPe4h+iwgvpGwD7 Xh1w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=aT+b5fgy; 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.27 for ; Fri, 12 Mar 2021 01:49:27 -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=aT+b5fgy; 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 S233256AbhCLJsq (ORCPT ); Fri, 12 Mar 2021 04:48:46 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54468 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233120AbhCLJsQ (ORCPT ); Fri, 12 Mar 2021 04:48:16 -0500 Received: from mail-wr1-x434.google.com (mail-wr1-x434.google.com [IPv6:2a00:1450:4864:20::434]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 903DFC061764 for ; Fri, 12 Mar 2021 01:48:01 -0800 (PST) Received: by mail-wr1-x434.google.com with SMTP id v11so1399591wro.7 for ; Fri, 12 Mar 2021 01:48:01 -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=N9wGEZYJoAIhx351pyXi5TmAw4uiOf0aUU7wFJx73AA=; b=aT+b5fgyqnDqnX7G5hdmSnKGdVhd9/KtvR4wfW6CaqISTqzo1QWxh7kdAkq/1Ibjpc qpeXdoXLK6hueG+4qGj7plD0J70Wm6rd7ElVOEdFvRCj+mkkj3PZhzhmztTfbNTphipW 028VkRDg4vGaTVotU4tB73nUGkhIrqiVKJLNMeSPqwzStwybxdzQ/9GiL1+hIqnPH/7f axRG75uF9535F3DGUbQUqCymVWkQxv4cB6m37A4LC9BW9qSUE+JQcYK3g7jHEYARZLlf gYZThZbE0Ym7c7yMJ2i7NYSIQBXiLSD673ZvEOP14ROber75e9NknV+mVPrJfy1u1Kwz 8tPA== 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=N9wGEZYJoAIhx351pyXi5TmAw4uiOf0aUU7wFJx73AA=; b=RaymuOEcF6MHM3tT9v9kw6WJlilMnZgYYOw7BCGL/9u2eeBUAtoUjqjejJ9oTaYLtU v88cGIhfXpamnIgnNv/ZNh2Z1J7NVNvz3g9oUXs6sTKSRDxoUq3/82Yo88gO1gWvd2Di /sbpVH1UcFoVuD/1WDBUeW5nYGTrt7MnpVxhoEyp/lgAd0yjuJLJyYi1gVOs6CoJlOFt W6gh+o0Z14iqP6q60V0wkuWEYHY2cAI0ZRSqrfzS/2rjUzFtZ1W9iGd1pc3HyoirlUmL rDl+DIvlupIsl8yn/Cs/pneHqy3qMEuRIBA42CKekLo8zAQf14pb6cq8+fg6d2HZDyaf ppUQ== X-Gm-Message-State: AOAM533CIZLeEl9vGikNDYnx0disIey4Nwditueg/4CBGJj0AFXHnbds RujvGYcrvt47boYrbNq3L7gyfA== X-Received: by 2002:adf:e482:: with SMTP id i2mr13034372wrm.392.1615542480270; Fri, 12 Mar 2021 01:48:00 -0800 (PST) Received: from dell.default ([91.110.221.204]) by smtp.gmail.com with ESMTPSA id f7sm1539536wmq.11.2021.03.12.01.47.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Mar 2021 01:47:59 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Nilesh Javali , GR-QLogic-Storage-Upstream@marvell.com, "James E.J. Bottomley" , "Martin K. Petersen" , Vladislav Bolkhovitin , Nathaniel Clark , "Nicholas A. Bellinger" , linux-scsi@vger.kernel.org Subject: [PATCH 11/30] scsi: qla2xxx: qla_target: Fix a couple of misdocumented functions Date: Fri, 12 Mar 2021 09:47:19 +0000 Message-Id: <20210312094738.2207817-12-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/qla2xxx/qla_target.c:6476: warning: expecting prototype for qla_tgt_lport_register(). Prototype was for qlt_lport_register() instead drivers/scsi/qla2xxx/qla_target.c:6546: warning: expecting prototype for qla_tgt_lport_deregister(). Prototype was for qlt_lport_deregister() instead Cc: Nilesh Javali Cc: GR-QLogic-Storage-Upstream@marvell.com Cc: "James E.J. Bottomley" Cc: "Martin K. Petersen" Cc: Vladislav Bolkhovitin Cc: Nathaniel Clark Cc: "Nicholas A. Bellinger" Cc: linux-scsi@vger.kernel.org Signed-off-by: Lee Jones --- drivers/scsi/qla2xxx/qla_target.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.27.0 diff --git a/drivers/scsi/qla2xxx/qla_target.c b/drivers/scsi/qla2xxx/qla_target.c index c48daf52725d9..67c6a2710360a 100644 --- a/drivers/scsi/qla2xxx/qla_target.c +++ b/drivers/scsi/qla2xxx/qla_target.c @@ -6462,7 +6462,7 @@ static void qlt_lport_dump(struct scsi_qla_host *vha, u64 wwpn, } /** - * qla_tgt_lport_register - register lport with external module + * qlt_lport_register - register lport with external module * * @target_lport_ptr: pointer for tcm_qla2xxx specific lport data * @phys_wwpn: physical port WWPN @@ -6538,7 +6538,7 @@ int qlt_lport_register(void *target_lport_ptr, u64 phys_wwpn, EXPORT_SYMBOL(qlt_lport_register); /** - * qla_tgt_lport_deregister - Degister lport + * qlt_lport_deregister - Degister lport * * @vha: Registered scsi_qla_host pointer */