Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1248758pxb; Fri, 22 Jan 2021 10:31:09 -0800 (PST) X-Google-Smtp-Source: ABdhPJxkJFCWpKiAfQH8Cp+BCU8h+vetNWg741HoMoNzyPfmrnqn1mPrGy0lswIRdpyd0cJlt0tG X-Received: by 2002:a17:906:99c5:: with SMTP id s5mr3890705ejn.236.1611340269409; Fri, 22 Jan 2021 10:31:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611340269; cv=none; d=google.com; s=arc-20160816; b=ILpMPXMS2xlUA6GsD8C063ViLVjsZ1mjiQLzg8ldSi7cwUhYRaC1dki/CBn7X6ao08 oFMWrmkpq12Dm1usPW6HDfZOcPvi3CJB6I9A5MI2q3GJb4g7X8WH99ccp2KVFaBvHzLQ 2Y1IE56mbiIFw+TDlGvRXEN8DsjsjKo4NgPz4Uo4ig+U2cDdgwmGoSzvlYBvwQk+fST2 Pp55Hco6s3/PeeVDZwi/jxHWMpl0jomqFCGAlSf11/VtXV79D1GnnIWz/8kj9+iN9qxE J1UA+piAh2XagSjshjWHfKEkn71uGqBz/j7+wTfd4zvDx4gRKkXgiGdCJgmrcNoYWbxW my1Q== 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=7iGlTsG7kp/CDqS5IPuUUeTU5tWDtdKcoU9eM+of7vM=; b=B8utQ4/Z1hfTi2XrrcLqfiODqDUBxvoojZHPIQ0hxymn53D/WqecLYPj1EFjQqvH3n nrk7+hxqSIrzwEEUSVZzSVcdJJVGNYVoZnyQF1vlFO7U5G/opgx7b9TC0ONqgrmfzWLJ fWEY1Li7XC8/kpxmjQYE2MMVOmaukCr4LHelN7Pvz6jN8ZQHsenrO1YwiYRDIEn2nhsp 1IpD1LnfAtP0Bm6AA6lgBp8m3aHAjLLVIMfkCfTKcAqeukC4aYmb2auRSDggzumvSrW8 5Gl6yaxo8UNbx/CpI/eTnkhzvxRb6Z5OXmhYuqZ/Tf4P/OzH7x/HoXDTeVwWnMNvS5KM Dzug== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=GPdeSnGy; 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 dk22si3254617ejb.736.2021.01.22.10.30.45; Fri, 22 Jan 2021 10:31:09 -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=GPdeSnGy; 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 S1729976AbhAVS1O (ORCPT + 99 others); Fri, 22 Jan 2021 13:27:14 -0500 Received: from mail.kernel.org ([198.145.29.99]:39602 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728570AbhAVOXA (ORCPT ); Fri, 22 Jan 2021 09:23:00 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 51B4F230FC; Fri, 22 Jan 2021 14:16:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1611325016; bh=7NtATfN3pXCDymTXpZ4z8ks7bCXDDQ1jUjDDvwrcEmw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=GPdeSnGyc64mONBEv7B/JwMZNYNmrBdByPuTgZHoxIak+JZTIsqc2Mh9tw93GYMah qjCPqx/JlUpjfvpjqii+MCzBeK8fr70i9FKMm5K9RgyGo0OuSEzUjR1wbJtbgfGBkQ tTp1tdv8HqI2ia7lKPL6rOjnm3mM8mmrXnAJLbB0= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Hulk Robot , zhengbin , Dick Kennedy , James Smart , "Martin K. Petersen" Subject: [PATCH 5.4 05/33] scsi: lpfc: Make function lpfc_defer_pt2pt_acc static Date: Fri, 22 Jan 2021 15:12:21 +0100 Message-Id: <20210122135733.790049063@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: zhengbin commit f7cb0d0945ebc9879aff72cf7b3342fd1040ffaa upstream. Fix sparse warnings: drivers/scsi/lpfc/lpfc_nportdisc.c:290:1: warning: symbol 'lpfc_defer_pt2pt_acc' was not declared. Should it be static? Link: https://lore.kernel.org/r/1570183477-137273-1-git-send-email-zhengbin13@huawei.com Reported-by: Hulk Robot Signed-off-by: zhengbin Reviewed-by: Dick Kennedy Reviewed-by: James Smart 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 @@ -286,7 +286,7 @@ lpfc_els_abort(struct lpfc_hba *phba, st * This routine is only called if we are SLI3, direct connect pt2pt * mode and the remote NPort issues the PLOGI after link up. */ -void +static void lpfc_defer_pt2pt_acc(struct lpfc_hba *phba, LPFC_MBOXQ_t *link_mbox) { LPFC_MBOXQ_t *login_mbox;