Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp22085615ybl; Mon, 6 Jan 2020 17:51:05 -0800 (PST) X-Google-Smtp-Source: APXvYqz1zk2YwbTCid2i7LLX+BRJuc8QqbG0UMQAmjsaRqquZnct/qhaNlBhgcKHUoqni8a8LtUG X-Received: by 2002:a9d:6f11:: with SMTP id n17mr103705899otq.126.1578361864912; Mon, 06 Jan 2020 17:51:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1578361864; cv=none; d=google.com; s=arc-20160816; b=MzM1/lgKS9CQAmlp4Kh4oHA/otP3aYgT0E3MxboulmnaHFC/rF7P6igXEWcn2je/cG FhMljPwE3F8R426SC5kZHa8BtvEy22Ku8jemeWFLw0edHQvOZlwnbm6viuS3Hjzfqfva Tncrfs8QSBLUhcvJIHiMOPhWxUQXAWTGjwKIFLTcC8NsecRXZYpZF7kMTXGQGT0XlUzK cY2RWPQv6ZUbVB+KObsEMrFhmWVPBBZ7OSTh/bWgOXTZ44U3iCm6+WGUWau0SrvkxBgN gkq1gga0rZ5euGu15u30yZW+v14AEo4qcXWYl//lbSUqZAnMnq4sSBMVscHwUqQRwKZs /Jzw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from; bh=FCGyRmVtQ5ToLbZ2mXmvNLzyvge4S1yDo1h7JEfo3so=; b=y5dMuawRF2KSudUGb3tTrbzbIerBg1G9O5FAsP9Lh2MKNVqU918m/0xNw5RC24YtRa 91nyv/r6VxEXmN9uDrqJ4ZK6y6w1+stR6bmn4LJmpOMkvOB9gXwWRB2ckFTJCf80ZcDO qov1h2f1FTyIYxbC9Rqp5IzA1zExv+P37tVTC5Phw6WzKL9SjYtIxmMoGyiEHiij/Uwk e5256bw3OluHabIUP91hDvCsYKEamSWKRcvjEqgx7ViVTyWWSG5wRSXyhspTbm1p9LJ5 8v+Lr7FfgvKfcjc4EPoE2AmNPscsF/gKQkLO9qZK8A0dlFA9sW7PE30a2ICZ5jX4NhM3 wG8A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q131si22453339oig.203.2020.01.06.17.50.51; Mon, 06 Jan 2020 17:51:04 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727447AbgAGBuO (ORCPT + 99 others); Mon, 6 Jan 2020 20:50:14 -0500 Received: from szxga04-in.huawei.com ([45.249.212.190]:9116 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727326AbgAGBuN (ORCPT ); Mon, 6 Jan 2020 20:50:13 -0500 Received: from DGGEMS403-HUB.china.huawei.com (unknown [172.30.72.58]) by Forcepoint Email with ESMTP id 93F2980698AF33B79D63; Tue, 7 Jan 2020 09:50:09 +0800 (CST) Received: from localhost (10.133.213.239) by DGGEMS403-HUB.china.huawei.com (10.3.19.203) with Microsoft SMTP Server id 14.3.439.0; Tue, 7 Jan 2020 09:50:03 +0800 From: YueHaibing To: , , , CC: , , YueHaibing Subject: [PATCH -next] scsi: lpfc: Make lpfc_defer_acc_rsp static Date: Tue, 7 Jan 2020 09:49:56 +0800 Message-ID: <20200107014956.41748-1-yuehaibing@huawei.com> X-Mailer: git-send-email 2.10.2.windows.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.133.213.239] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fix sparse warning: drivers/scsi/lpfc/lpfc_nportdisc.c:344:1: warning: symbol 'lpfc_defer_acc_rsp' was not declared. Should it be static? Reported-by: Hulk Robot Signed-off-by: YueHaibing --- drivers/scsi/lpfc/lpfc_nportdisc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/lpfc/lpfc_nportdisc.c b/drivers/scsi/lpfc/lpfc_nportdisc.c index 1c46e3a..a024e5a 100644 --- 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 *phba, LPFC_MBOXQ_t *link_mbox) * 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; -- 2.7.4