Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp533234ybl; Tue, 7 Jan 2020 10:23:29 -0800 (PST) X-Google-Smtp-Source: APXvYqy3/TYh5nRfCjk19cf0dv1h3IVTcadyGncEIPhSFshbU2RWftx4ahH0Z8CHfJ/Mg9s8Jcry X-Received: by 2002:a9d:7d85:: with SMTP id j5mr1173119otn.86.1578421409734; Tue, 07 Jan 2020 10:23:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1578421409; cv=none; d=google.com; s=arc-20160816; b=hNsDbtTgi+foIew42h6p3jSoy4HO5Yh8sDKgdveAmjSFhng8WQPyZ324XeHrrPK+6v zY3Wf7sSY0466z/351kSqEE052EHczalMzpC54ueYjrjai3cl5fGJOW4Xs4c7u07MavN vOzF7piEyJWD/J7dgasukDr3NbBhE1oho5E5+APTKe4lsaVK8FWgyV33Dj0KsCf+0Bn9 h5bjKKlkNDgFKaVx6RVkvs86MW8GPkujuqXQ7WGZxVs/oqc8h1dLJxgOrMP9gNXvK24Q gIohvUhlM0bQ82q7KoIM9XydbIiWgGC/FIJGCk2PgPaNXL4Lw4q7UkXhhGy2esoanCOi 14cg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=WVCuuhbpIvW4AupYDvTbsRpjCbqFr6QbBg3JWUP7xik=; b=zHIDF2NWegMKhR0Pi/cF1UfMmhxusiEY6mDIRbCOm7lgWJodXpDg6FZMbbydIdZ0IX DL+a2DbjrtYb9sJpVKZ52OFafa0+wtVtocnLgfFN6wikjdvM5DSemr6PeURxeei6Hfor R+hGxwvqAU0rJ9j8I2XYXZgPK8jHvd3llzjmyjxTpS/+b0jllxzPRNP65i+rNj/gnWyD HME2+zegYJOd1Wtco/DKNR0SfnaNkAyUp6WneardL3NUbJB/ls8V8M+2L1KQnf5fXbGT 43rPAWjz5o16vOCmM4vHRoDKd8OQNRzFwm10xlbjJzRl8x+Qr0HbqqwyDtAGG83WAJLC ftSA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@broadcom.com header.s=google header.b="K7AU7/n5"; 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; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadcom.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e18si318333oti.153.2020.01.07.10.23.17; Tue, 07 Jan 2020 10:23:29 -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; dkim=pass header.i=@broadcom.com header.s=google header.b="K7AU7/n5"; 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; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadcom.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728519AbgAGSWd (ORCPT + 99 others); Tue, 7 Jan 2020 13:22:33 -0500 Received: from mail-wm1-f67.google.com ([209.85.128.67]:51906 "EHLO mail-wm1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728235AbgAGSWc (ORCPT ); Tue, 7 Jan 2020 13:22:32 -0500 Received: by mail-wm1-f67.google.com with SMTP id d73so575195wmd.1 for ; Tue, 07 Jan 2020 10:22:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding:content-language; bh=WVCuuhbpIvW4AupYDvTbsRpjCbqFr6QbBg3JWUP7xik=; b=K7AU7/n5223YDYE2iaWkl1blioVVg9SLao6fF7DsweNWA6JGCSiKkx0N8e0tf9uWQr 4Ihbf2gb+hGW+csWVXpI9VInkHgYU77v/ajfY2MsXmm9Yp05YgYOUjEnke8/MWH+85fQ mapthOJ1m8xt95YSDjqG3HF5j87nFlsZ1uVQM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=WVCuuhbpIvW4AupYDvTbsRpjCbqFr6QbBg3JWUP7xik=; b=Ow2/l3abDGXePtcyjYM4lsbGTuAYovwhGBPozz1HQqijSVsO3PU3Dnv/eoeOaXCRpZ ajERLGXAfgUIbLmqWOXal1mCrLx1BwrfnplXC4nVL6MBhEAYej2oJhr+71c4Os4TXfX1 vrBf38SoUaQGx/WKD/f8L5GKfb62wUZvaCQzCssmuaDESUDlqMwq+5AN4gyfUhmy74ug 4HCfAgUYN6HFXwM00y42jb9kg9NqNxBdHDh9Dix13T2PoO2GNYvNwzj3nWV9q3qFBoHJ ckr2z53inRCvN0V06wof/QyfFKgm0dGcUo3h1blbFmhNAOsFrJWyF2fOuCAuMnmjETv8 sbVA== X-Gm-Message-State: APjAAAVbUR3GDyhxqrj+24PpXxAxkPR26vzWjTBufJhisGEiRYlawewt lgF3p4+81Lt7dztI1glhHsoExQx6UHidpQPFFcxmmYIot5yvjleK7nNJoOA63wLyjgWeBxfe1eI xwxIEo9P9FvpOOaR5QS8obJwP5tYGIn/iMrGqnGvHNIdaw6xgnozpB7B+Z1BDlGVkVfXy3f67s1 07oys= X-Received: by 2002:a7b:cf39:: with SMTP id m25mr371888wmg.146.1578421350648; Tue, 07 Jan 2020 10:22:30 -0800 (PST) Received: from [10.69.45.46] ([192.19.223.252]) by smtp.gmail.com with ESMTPSA id k11sm532495wmc.20.2020.01.07.10.22.28 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 07 Jan 2020 10:22:30 -0800 (PST) Subject: Re: [PATCH -next] scsi: lpfc: Make lpfc_defer_acc_rsp static To: YueHaibing , dick.kennedy@broadcom.com, jejb@linux.ibm.com, martin.petersen@oracle.com Cc: linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org References: <20200107014956.41748-1-yuehaibing@huawei.com> From: James Smart Message-ID: <591891cb-81fd-777a-3a21-3fd24c8f7cc2@broadcom.com> Date: Tue, 7 Jan 2020 10:22:26 -0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.3.1 MIME-Version: 1.0 In-Reply-To: <20200107014956.41748-1-yuehaibing@huawei.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 1/6/2020 5:49 PM, YueHaibing wrote: > 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; Yep. Looks good.  Thank You Reviewed-by: James Smart -- james