Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp745739yba; Thu, 18 Apr 2019 08:53:35 -0700 (PDT) X-Google-Smtp-Source: APXvYqxBO+7YwN2RZ4CcG6v5uakQFIWvuAl5dNO6oJChBJVoplO5huaGZvO+l7/MvZfuwAvZiBiY X-Received: by 2002:a17:902:ba8b:: with SMTP id k11mr16874126pls.40.1555602814997; Thu, 18 Apr 2019 08:53:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555602814; cv=none; d=google.com; s=arc-20160816; b=eAohTibM3szLvo5gV/xIu+MLwNjfSQEOJNVqFreC2zplFcw1nL4gvAK71nt2uCQVrJ Ki6dOh7MzzuwTzQjFpBbRPUOs2Ohdur+OGO4LhmpLOrJxStV48/8WtQBJ63cuByWRzXT F06t0b1X2O62EiGEFPzuBnITt76A00qUf+V9ZpRo+eTtlS5e9qhn1z94Q1bpljlaLNBZ E2E5HvUrypFsF0Pm/AcNaSXVXGSIwtMI+YfLxzkJgc8pIgJuStvbymC09+ZvXnHnCtkC qmIWj4n02pANNt3xUhKkGezDE9WEdmYq689GBEbboPUgYs4TpWTnR4EvB+iTfqW2YAmr EqSA== 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=iR5C0/1wNvEzxblDdXezM1jlQIqf0fGT/eYaKbBSlHI=; b=f6rLm/7O0kwyq+tIKMvNhOeq3uNEf+pOMaZzb3DzHvoreiPUtuhf1Y5dJX85/Ajmmr iIELa3+0YDXvmyaEG0i4vtFZdm8actsVXE6m4auXBBYV9Zv8/i0nmFKTXmvODMOcypqv ybImx4AQa36Hvn+JTnKgAwhpT0k7neqAYLrQalhGsCAMxavF2TtEam8L8VP8hpSzcTxM arfzg02ubn2D6yTOwII0dmnQYokLx/0Zgz3u8yT8mUB8/zrmc0a6DgAZnSasjis/4lkC Y0HkAcDq3xIQZXcoEZm5E/oI6RW8sznto9uD1y6TZ/fFuzP2zkdY9wAScoh8ovz7qmM8 8BUA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@broadcom.com header.s=google header.b=BY9g7DIB; 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 k62si2150072pgd.444.2019.04.18.08.53.19; Thu, 18 Apr 2019 08:53:34 -0700 (PDT) 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=BY9g7DIB; 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 S2389594AbfDRPuZ (ORCPT + 99 others); Thu, 18 Apr 2019 11:50:25 -0400 Received: from mail-oi1-f195.google.com ([209.85.167.195]:35177 "EHLO mail-oi1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388301AbfDRPuZ (ORCPT ); Thu, 18 Apr 2019 11:50:25 -0400 Received: by mail-oi1-f195.google.com with SMTP id j132so1993858oib.2 for ; Thu, 18 Apr 2019 08:50:24 -0700 (PDT) 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=iR5C0/1wNvEzxblDdXezM1jlQIqf0fGT/eYaKbBSlHI=; b=BY9g7DIB6XglAbf45HGfmPpeQLIqBF+412NtyT1ROM1c7hczLGKXLDQWv+FMqDYsDX c89jPLot440lSPeaUTOW40RlyDtw9PDPw14MWDjkmVLem0PSQj3uDkXYCKJ4uJu7TZ3G KAOi/mjC3OGG1QT0yWQKmXLOhI0ZmiAC+s1TE= 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=iR5C0/1wNvEzxblDdXezM1jlQIqf0fGT/eYaKbBSlHI=; b=NX6FG3WWFfYUNIn98z+/1TOd36wIFL3ub/2G86+ovfRsEptp3ELcFUnfOKS8fMnLnX KU7QvpBuCSJ7/dwflxyPS6kowIUj5dbj6rFPRbpBlncR2ANtkW1STKCm/N/wbARLHLoc X6v64sMbvaZ/ccmmhj1e46XsNE4DqS7gmbezgkMZBXwDwmICxzqgaR5C2Zhu5gOweMDc 93hOJQJbGVrlNOVZ6rxgoloxbRNH0K4ot6VdPKEUb7N60c6JFVVnqdwLL1hXr5WDS5cD aS8iDrP36y57Yrbk6EmjlcqdFSxtxp8lo8PRCB+zstM2J4av9xDtQjZGj6FtuiD4MjO2 +HHA== X-Gm-Message-State: APjAAAUcJYl/92W2byP16rq7a3vtZsCr2P/1R2NwI6uwYvci7j4FMjjo dYzJoJ/R5C91pvC9w4/LIrMd7S51KZo= X-Received: by 2002:aca:6c47:: with SMTP id h68mr2637684oic.57.1555602624365; Thu, 18 Apr 2019 08:50:24 -0700 (PDT) Received: from [192.168.1.237] (ip68-5-145-143.oc.oc.cox.net. [68.5.145.143]) by smtp.gmail.com with ESMTPSA id a23sm847713otf.69.2019.04.18.08.50.22 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 18 Apr 2019 08:50:23 -0700 (PDT) Subject: Re: [PATCH -next] scsi: lpfc: Make lpfc_sli4_oas_verify static To: Yue Haibing , dick.kennedy@broadcom.com, jejb@linux.ibm.com, martin.petersen@oracle.com Cc: linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org References: <20190417150554.34844-1-yuehaibing@huawei.com> From: James Smart Message-ID: Date: Thu, 18 Apr 2019 08:50:23 -0700 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: <20190417150554.34844-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 4/17/2019 8:05 AM, Yue Haibing wrote: > From: YueHaibing > > Fix sparse warning: > > drivers/scsi/lpfc/lpfc_init.c:13091:1: warning: > symbol 'lpfc_sli4_oas_verify' was not declared. Should it be static? > > Signed-off-by: YueHaibing > --- > drivers/scsi/lpfc/lpfc_init.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/scsi/lpfc/lpfc_init.c b/drivers/scsi/lpfc/lpfc_init.c > index 8e0de48..eaaef68 100644 > --- a/drivers/scsi/lpfc/lpfc_init.c > +++ b/drivers/scsi/lpfc/lpfc_init.c > @@ -13087,7 +13087,7 @@ lpfc_io_resume(struct pci_dev *pdev) > * is destroyed. > * > **/ > -void > +static void > lpfc_sli4_oas_verify(struct lpfc_hba *phba) > { > Looks good. Interesting as there's a prototype for the function earlier which defines it as static. Reviewed-by:  James Smart  -- james