Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp4385971pxu; Tue, 1 Dec 2020 03:46:47 -0800 (PST) X-Google-Smtp-Source: ABdhPJxScT8CYzy5dMZAJJEswMmbR1M6tun8cvW8dloZ+ieK0IcYaRcbZyhjUkeKwTjoGmLRuHor X-Received: by 2002:a50:a6de:: with SMTP id f30mr1039549edc.30.1606823206911; Tue, 01 Dec 2020 03:46:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606823206; cv=none; d=google.com; s=arc-20160816; b=fZcipCghwKItP02FaD1nXo4ypjqqn9X02G+kOj1W9f+HFwBJDrkRfxBBWE9ps/61l6 IAVjg/57MlLJNu9W2AhuzAee0LaSk0v/b2q72/i0vnYlH5AVKbtfY25RYyw26/WUTzYe zT4BXaa3wnrHW3DpPB8bMBUg5o+azHMfGiDmPQ0Cv0tQdOoiNv3eMOx/Xnxzi2TNQglK PyXkNXzNSpDd7F/nOgudWhoT+rT4ShW+TYf808ZdS56w7PxK+bEBnAu1rW9Iy/aVvun7 AQVwo2p4LC2kTiYBQCCA2m3FyP99ZOixiYgOuWN5MlwNFpKQu+sMuCwx7zy64G8gKB62 aDrg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from; bh=xGnc1ElgnkSiTVDs2yRBAVpK+gcCRrsU8LbadMjSkRM=; b=wOWFEYwy8SEUIpXxYI5GmV+ojsVbE5Zco0vHm38BkGGl3cPl/cf8cvCzxpwKxJMcx1 deKxf88svlOfrSIlW1nbXifKmHT1v6HaHZ5xZzX7AR0mB429tlD+RHUYlADofsrda42i jgxgDJdEZPA45cKtQEyYAzh/wQgLgPpGRXOERde7viEVGMoI4fzYD8iG2Kyx838ujpv7 XtBDdnUwjGC5VZmb14RPhgEns/W1Ey69g2yoper6Aa/xQOm9NrY5vBBBaCPGMFyMEGlw uk89X4bHf2mpPX3Gt+B9CpsnE604OqldUEqvXldP2j0+E7PqerBZvp7hDASYGBCI6GEt Vw+g== 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 i10si947135edj.24.2020.12.01.03.46.24; Tue, 01 Dec 2020 03:46:46 -0800 (PST) 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 S2387420AbgLALlK (ORCPT + 99 others); Tue, 1 Dec 2020 06:41:10 -0500 Received: from szxga05-in.huawei.com ([45.249.212.191]:8544 "EHLO szxga05-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729067AbgLALlK (ORCPT ); Tue, 1 Dec 2020 06:41:10 -0500 Received: from DGGEMS414-HUB.china.huawei.com (unknown [172.30.72.58]) by szxga05-in.huawei.com (SkyGuard) with ESMTP id 4ClgBV2bZZzhl5C; Tue, 1 Dec 2020 19:40:02 +0800 (CST) Received: from linux-lmwb.huawei.com (10.175.103.112) by DGGEMS414-HUB.china.huawei.com (10.3.19.214) with Microsoft SMTP Server id 14.3.487.0; Tue, 1 Dec 2020 19:40:19 +0800 From: Zou Wei To: , , , , , CC: , , Zou Wei Subject: [PATCH -next v2] firmware: xilinx: Mark pm_api_features_map with static keyword Date: Tue, 1 Dec 2020 19:51:53 +0800 Message-ID: <1606823513-121578-1-git-send-email-zou_wei@huawei.com> X-Mailer: git-send-email 2.6.2 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.175.103.112] X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fix the following sparse warning: drivers/firmware/xilinx/zynqmp.c:32:1: warning: symbol 'pm_api_features_map' was not declared. Should it be static? Signed-off-by: Zou Wei --- drivers/firmware/xilinx/zynqmp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/firmware/xilinx/zynqmp.c b/drivers/firmware/xilinx/zynqmp.c index d08ac82..fd95ede 100644 --- a/drivers/firmware/xilinx/zynqmp.c +++ b/drivers/firmware/xilinx/zynqmp.c @@ -29,7 +29,7 @@ #define PM_API_FEATURE_CHECK_MAX_ORDER 7 static bool feature_check_enabled; -DEFINE_HASHTABLE(pm_api_features_map, PM_API_FEATURE_CHECK_MAX_ORDER); +static DEFINE_HASHTABLE(pm_api_features_map, PM_API_FEATURE_CHECK_MAX_ORDER); /** * struct pm_api_feature_data - PM API Feature data -- 2.6.2