Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp629595ybz; Wed, 15 Apr 2020 15:29:33 -0700 (PDT) X-Google-Smtp-Source: APiQypIbTwwZMU0WElU3sgIqBti3YpzBdJQv480mOlgvaGngnyjlgwfxWFn/IC3hfqYxBrOZtD2V X-Received: by 2002:aa7:ce82:: with SMTP id y2mr27376238edv.11.1586989773069; Wed, 15 Apr 2020 15:29:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586989773; cv=none; d=google.com; s=arc-20160816; b=NrOplQJp6l9kIi/x8Suts5nUPJSlwcwViV+rVQw8Aa8OGxJrxfttV0ZzI+83pGNMxz 9GWOZhBRwHldAdkOljHpPP4skvV4HJC3+5PDUpk862QhNNXw3XPb0eUmcNphr6x7YejY mcDvO+oT3zNVoXnThnB0UwuJ7r1itwhKN+jt6y2xpS4EKBk3z/UJ20Y5MDAfUMExyhGf Aew2AZBpX/0+CnpGpziV3xpS88xaiVrX9Cw2OwkJett/fVGCNe6Gm+p+xOI/GDf1KMAF MVwvj/ZqqPC2aRQo2dFIhVoLFAuxHR9O0tJjV/rnui+kxDL2SXseCIci3SmTIVJRY7mi UFDA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=xt/sCPlcOgbayQnZ/V603D0XvY4eP6pjwMGmxzyFuPQ=; b=Jp3sqSURLp1R6J41dGRcTPaBY7vrMBiXBVOh9FOh3iQyurYXU0PdxaPs1g+xca+FdC Ur7yfDzk60TcPhgprm61a/8ay0gYoRfRc0Rpeoe896e2zUC62VBoYqOnXfPYanmUt4TM yQFPZX9gmAtVCwAzv/lHIE0E0wWfOg1JbNYVXAyTEnDUWubwr+x87a6AU+WLDIPWwDvh gJUHq8LEpZjiy69j4Th82SSScr3s9sEISS86MKDfhAVlWyseOuue+2HDHZccSVx4yMyc iQD0PCJQg1Ff/GJyqrHE7m5YuVe3MIANo5zqNZ/9KTuRJGyjvXNL/Bgk3TRSN7pTeT/u +FIA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id rv23si9698752ejb.330.2020.04.15.15.29.10; Wed, 15 Apr 2020 15:29:33 -0700 (PDT) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2635749AbgDOIQb (ORCPT + 99 others); Wed, 15 Apr 2020 04:16:31 -0400 Received: from szxga05-in.huawei.com ([45.249.212.191]:2325 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S2635729AbgDOIQ3 (ORCPT ); Wed, 15 Apr 2020 04:16:29 -0400 Received: from DGGEMS403-HUB.china.huawei.com (unknown [172.30.72.58]) by Forcepoint Email with ESMTP id 9B6F514C4C5638BB6EEE; Wed, 15 Apr 2020 16:16:27 +0800 (CST) Received: from huawei.com (10.175.124.28) by DGGEMS403-HUB.china.huawei.com (10.3.19.203) with Microsoft SMTP Server id 14.3.487.0; Wed, 15 Apr 2020 16:16:20 +0800 From: Jason Yan To: , , , , , , , , , CC: Hulk Robot Subject: [PATCH] net: tulip: make early_486_chipsets static Date: Wed, 15 Apr 2020 16:42:48 +0800 Message-ID: <20200415084248.24378-1-yanaijie@huawei.com> X-Mailer: git-send-email 2.21.1 MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [10.175.124.28] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fix the following sparse warning: drivers/net/ethernet/dec/tulip/tulip_core.c:1280:28: warning: symbol 'early_486_chipsets' was not declared. Should it be static? Reported-by: Hulk Robot Signed-off-by: Jason Yan --- drivers/net/ethernet/dec/tulip/tulip_core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/dec/tulip/tulip_core.c b/drivers/net/ethernet/dec/tulip/tulip_core.c index 48ea658aa1a6..15efc294f513 100644 --- a/drivers/net/ethernet/dec/tulip/tulip_core.c +++ b/drivers/net/ethernet/dec/tulip/tulip_core.c @@ -1277,7 +1277,7 @@ static const struct net_device_ops tulip_netdev_ops = { #endif }; -const struct pci_device_id early_486_chipsets[] = { +static const struct pci_device_id early_486_chipsets[] = { { PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_82424) }, { PCI_DEVICE(PCI_VENDOR_ID_SI, PCI_DEVICE_ID_SI_496) }, { }, -- 2.21.1