Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1248385pxb; Fri, 22 Jan 2021 10:30:37 -0800 (PST) X-Google-Smtp-Source: ABdhPJww2fHDrdupWUxKROd5BhLVZog2+nV17au8y9RfVehLbbwzPRJZeXyefpuQlLvnL+fgGxKI X-Received: by 2002:a17:907:94d4:: with SMTP id dn20mr357139ejc.397.1611340237755; Fri, 22 Jan 2021 10:30:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611340237; cv=none; d=google.com; s=arc-20160816; b=XJF5In7v3fshQuzmVCyl9vLAd3AX8ejUIjGx+e+mM1MuimUV6F2xbxXmCMJXsueNMa d4eHHRL6rZ7FMAMSQjNaiucD9IOpC24AZoGW4kVwcLQ+UvV2s0pdD+UOMSE4YmMzdelk Qiz3uSuBiH0G0lL0cODPI8xkmwdOxs6dq2vfb7o2z8kf3RoIssff5K+Qy8EoJtsafwOs aPWzjrAec2GI36gGRPqyVRpFzR8S0s5nDT3+sACUZekXffyAiFrOWyyPDuDKy6O+b6PX LwosUUW5m/bW/eno7xr4dQo1u7D+ZHYEDL3eD3npX6d1x8f7NLrBdePREqHEeCmJos8k pnxQ== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=SCNDxLskI12svxtD/BNenp1G8+MVW/uQvCAvJmb0GNo=; b=h8DhpPsCHsbExzGbyGM4Un6dyb3Ntdayxq0zUEP2F1FfgVRIKTbeAupaqTiXIzj8kK UX0VvHPfqwmikrd8U/hoS7KRsXpKZbu4AO0Nodo5v1YhX8p0flZFrtgkcmYiQO4JQwXO pYtuULmfF/6RhJADleBUMrRgzXKmkYAlbKWkLSRgJVZTyLYA7raG5ZjKNMWOoh7T88WQ SLhYfgm24VY+7fzwdEjZI7qGXfqO1Ifzr2fnrUdrXKmL4oXiZbCydo4z8nA+Ahqcy8Fk /P5UpbNQJ6E0LNkfeTpK9R/sa1oBGVhmSxAX+PsRZ7ztc24Voyrie+ahpKfIsjKzgY8m YgCw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=2HWQjI6y; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id mc7si3226832ejb.172.2021.01.22.10.30.13; Fri, 22 Jan 2021 10:30:37 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-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=@linuxfoundation.org header.s=korg header.b=2HWQjI6y; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728585AbhAVS2J (ORCPT + 99 others); Fri, 22 Jan 2021 13:28:09 -0500 Received: from mail.kernel.org ([198.145.29.99]:40016 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728569AbhAVOXA (ORCPT ); Fri, 22 Jan 2021 09:23:00 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 19D8F23AFE; Fri, 22 Jan 2021 14:16:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1611325019; bh=lkqE5f3qb6E6Gs69DA9ZChZmyiuLBQy/EDcksU3bHgc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=2HWQjI6ymuIdsGiBWhG1FsEW7vCnYVCiPQksJ+SwsF0EEs84HJyUiUPuc9JjtpKsL kBQzVGF274YjAMRCXot90Uki+gdqFuhfUfKJ+2PRFuHucptJf2p2BvxxNzzINp1zFM cC99JEcAm4x77UFJXojES2NmUZXASqIH8CR+Bkbc= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Hulk Robot , James Smart , YueHaibing , "Martin K. Petersen" Subject: [PATCH 5.4 06/33] scsi: lpfc: Make lpfc_defer_acc_rsp static Date: Fri, 22 Jan 2021 15:12:22 +0100 Message-Id: <20210122135733.832053756@linuxfoundation.org> X-Mailer: git-send-email 2.30.0 In-Reply-To: <20210122135733.565501039@linuxfoundation.org> References: <20210122135733.565501039@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: YueHaibing commit fdb827e4a3f84cb92e286a821114ac0ad79c8281 upstream. Fix sparse warning: drivers/scsi/lpfc/lpfc_nportdisc.c:344:1: warning: symbol 'lpfc_defer_acc_rsp' was not declared. Should it be static? Link: https://lore.kernel.org/r/20200107014956.41748-1-yuehaibing@huawei.com Reported-by: Hulk Robot Reviewed-by: James Smart Signed-off-by: YueHaibing Signed-off-by: Martin K. Petersen Signed-off-by: Greg Kroah-Hartman --- drivers/scsi/lpfc/lpfc_nportdisc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/scsi/lpfc/lpfc_nportdisc.c +++ b/drivers/scsi/lpfc/lpfc_nportdisc.c @@ -340,7 +340,7 @@ lpfc_defer_pt2pt_acc(struct lpfc_hba *ph * This routine is only called if we are SLI4, acting in target * mode and the remote NPort issues the PLOGI after link up. **/ -void +static void lpfc_defer_acc_rsp(struct lpfc_hba *phba, LPFC_MBOXQ_t *pmb) { struct lpfc_vport *vport = pmb->vport;