Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp4850841iob; Mon, 9 May 2022 03:10:24 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxBtP1pVhX7oQdAtVylYJOZHKhCafPwvtVKdQNEMhSYKjHDwXFJ2e4ybcTxBF86QkwWFjKw X-Received: by 2002:a63:5522:0:b0:3c5:e4be:5a49 with SMTP id j34-20020a635522000000b003c5e4be5a49mr12523081pgb.26.1652091024818; Mon, 09 May 2022 03:10:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652091024; cv=none; d=google.com; s=arc-20160816; b=leN7C1cqp6MxAhuJOkrvTwXha3+2cgh+/Dppfy4S2bhMfMjgy5Fv6xzxqZSRHkxeOO 3NH/OMiYRmbsCwizCeHw19JwOXACZoi/OWN1A3UB4BcVszDlvWOaBFuLM8+Jj/veq6Zv Ub1UxEqETxGc4xEvOtCy637arFfglQ77Ce/NOQ4CyO/Bjtl+baVl3mbdGUDsPsPwmjsk ekV53tw3t9W2fbkjhKjdDtkRBdp0tGJio+jiVx90fBQIJXDgRMw2O5gs2HQPY0QTq7cV kOjL4s1csBuJ0TrwjTbcnKzxPrg6ig8OEMtkszMy7ej26q/6HTtAuPLwyMuVrsphcmWk YAeA== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=rLr3fZbfrwdxpdqUmO+7CXj9h1u666zzhD5qe0O+oHw=; b=zx9hVcphUDes04Mz4mq9qbCU5SpVQVnuI/mbEDUOsiBSuxznxDP6ohZ3HkMhonoIvo a0LvjYmMjyQ1cwYztcVUBvgj00cA6rtVF0oya/GyQKljbkd1GZx4FH8Jn12PwGAONtng Mnrk5ozKB+L/mltQLZkRcVfSLYM4z6mjdRw37UFQ3w5Bs+Y8pFsYZ82lhux19n9ilmQC xxKjchmzNGli8ZA8Bdv+IMwaRqzA6qtMgKw8OyLsbuRsBatB/M2Fqn0Om7D9fGaPI5dj RjQTnNArv8AVjJFcUdljgQJhxnYMso/ThZpiaTdYBS3xKrxmS7f76H7niH43PrR+ZJVr OdKA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@marvell.com header.s=pfpt0220 header.b="HWh81//F"; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=REJECT dis=NONE) header.from=marvell.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id t13-20020a65554d000000b003986443b1f0si13847812pgr.832.2022.05.09.03.10.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 May 2022 03:10:24 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@marvell.com header.s=pfpt0220 header.b="HWh81//F"; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=REJECT dis=NONE) header.from=marvell.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 2DF112380C3; Mon, 9 May 2022 02:49:53 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231669AbiEIEjs (ORCPT + 99 others); Mon, 9 May 2022 00:39:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60742 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234290AbiEIEgo (ORCPT ); Mon, 9 May 2022 00:36:44 -0400 Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9BADB126C2A for ; Sun, 8 May 2022 21:32:49 -0700 (PDT) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 248Nq6e9004620; Sun, 8 May 2022 21:32:30 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : mime-version : content-transfer-encoding : content-type; s=pfpt0220; bh=rLr3fZbfrwdxpdqUmO+7CXj9h1u666zzhD5qe0O+oHw=; b=HWh81//F61cNkEG0UfKh0asgFZK/aJYN7qH9erMthRC7zPeorO2Oh85f6wHN9qnX2hXm 9/hYFfGTtryZFjQ09rmSH/ou0wNFtnZDgphD6kBpSA383yx9LnFgee3L/movHN8sVZFo nvw3cOzjtuXJ3u61f0xtowoSie1WaNSepTyJVlMayfJaYZWRI3aGofclNfFQlL6eEnIi qzZ20MhPx9UeWz3Wur8RrVcdyG8VacWhn9gQ0tAzB+UHlfCPVKbfxeDp8GiLqo4EtOEf zFAhEOSbJsQuf86Omi2DQvrY83RBomls+Ph60UvLu/fDiUMPgUCL4cwOjU4Z57tM9BTX LQ== Received: from dc5-exch02.marvell.com ([199.233.59.182]) by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 3fwy5j3mh1-2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Sun, 08 May 2022 21:32:30 -0700 Received: from DC5-EXCH02.marvell.com (10.69.176.39) by DC5-EXCH02.marvell.com (10.69.176.39) with Microsoft SMTP Server (TLS) id 15.0.1497.18; Sun, 8 May 2022 21:32:28 -0700 Received: from localhost.localdomain (10.69.176.80) by DC5-EXCH02.marvell.com (10.69.176.39) with Microsoft SMTP Server id 15.0.1497.18 via Frontend Transport; Sun, 8 May 2022 21:32:25 -0700 From: Linu Cherian To: , , CC: , , , Linu Cherian , "kernel test robot" Subject: [PATCH V2] arm64: Declare non global symbols as static Date: Mon, 9 May 2022 10:02:21 +0530 Message-ID: <20220509043221.16361-1-lcherian@marvell.com> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Proofpoint-ORIG-GUID: VPmKMi-ejMp8eedWKaFJv5xE6Cx2Mhc- X-Proofpoint-GUID: VPmKMi-ejMp8eedWKaFJv5xE6Cx2Mhc- X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.858,Hydra:6.0.486,FMLib:17.11.64.514 definitions=2022-05-09_01,2022-05-06_01,2022-02-23_01 X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fix below sparse warnings introduced while adding errata. arch/arm64/kernel/cpu_errata.c:218:25: sparse: warning: symbol 'cavium_erratum_23154_cpus' was not declared. Should it be static? Reported-by: kernel test robot Signed-off-by: Linu Cherian --- Changes from V1: Reverted change to global symbol cavium_erratum_27456_cpus since it was used in other files. arch/arm64/kernel/cpu_errata.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/kernel/cpu_errata.c b/arch/arm64/kernel/cpu_errata.c index 4c9b5b4b7a0b..49f4863c6c56 100644 --- a/arch/arm64/kernel/cpu_errata.c +++ b/arch/arm64/kernel/cpu_errata.c @@ -215,7 +215,7 @@ static const struct arm64_cpu_capabilities arm64_repeat_tlbi_list[] = { #endif #ifdef CONFIG_CAVIUM_ERRATUM_23154 -const struct midr_range cavium_erratum_23154_cpus[] = { +static const struct midr_range cavium_erratum_23154_cpus[] = { MIDR_ALL_VERSIONS(MIDR_THUNDERX), MIDR_ALL_VERSIONS(MIDR_THUNDERX_81XX), MIDR_ALL_VERSIONS(MIDR_THUNDERX_83XX), -- 2.31.1