Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp4363011pxu; Tue, 1 Dec 2020 03:07:39 -0800 (PST) X-Google-Smtp-Source: ABdhPJweiww8O0ZVFPCj/KC9LellmlfmUedavZOc5goF5P83hLcUpxeNFwH1eSWiFQYiAn538wf6 X-Received: by 2002:a17:907:40f0:: with SMTP id nn24mr2364989ejb.233.1606820859499; Tue, 01 Dec 2020 03:07:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606820859; cv=none; d=google.com; s=arc-20160816; b=EeErN5itpc7pMhmUuw1AdCYBZCuBgGng4cGpoFojWZjkEpIb2+Gng4AJ20lCXum/ri LZwFnHJmxUZzpi/1PNusYddCLzbkRIuMf+BI0GAbETShw8k/clhlLS9zOIMrvDKt1fL9 CyMTlF7ZM+WP6DOTJY7vLpFZhNHc/818NHIXNQveAUFaH8SB/LJq/64N5pVHucpWpNeL rWixqOaK1qK6398VxaMJ6T20LStnMMe6oahIWDLxgvEFr/QMzuf/rYvT4QcNIXrBmnsD ipjc5FVKEHmyKE2veifp7yb2MRwcFdAu5bTvRx1y4DQjW/wsfcDkOZkRgVTBF8S2PJyU DfZA== 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=HMztm/X3yyY0Ux4ompeL1JikgjIgYHlti2vhsU533fg=; b=WByTswRkf1KHrKCoTJ8HyfwWAlJMJGdNfAEX96PWceOPurJunrht6YngpJkLORZ96E /fgBuVIf7SzhXa2+Wd8tzfqTAu4zG72cx8y4yxThrlTXybUgpsfG7xMq5GSodIEDCjAS wfu7G1H26ebIfWgu3s8gESSCDrC6VJKILLEbrb09Ah54CARFwZUuS60ei6skL1losBk2 lsT3Ob62w67ycyOeuifQzSxOm196ba7VsX5ggU+XMlNY2e4KR+JhLNiT/G0PFGhlsdxF uX10SlQzP1eMHC+IMqJiGjROMaj+s9hpCmfmFIlYLC6NZ8yD6T1P9DjTrSc/POr1Or9f a6uA== 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 u15si1000894edt.525.2020.12.01.03.07.15; Tue, 01 Dec 2020 03:07:39 -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 S1730342AbgLALE6 (ORCPT + 99 others); Tue, 1 Dec 2020 06:04:58 -0500 Received: from szxga07-in.huawei.com ([45.249.212.35]:8900 "EHLO szxga07-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730317AbgLALE5 (ORCPT ); Tue, 1 Dec 2020 06:04:57 -0500 Received: from DGGEMS402-HUB.china.huawei.com (unknown [172.30.72.59]) by szxga07-in.huawei.com (SkyGuard) with ESMTP id 4ClfNk1VgXz72gb; Tue, 1 Dec 2020 19:03:50 +0800 (CST) Received: from linux-lmwb.huawei.com (10.175.103.112) by DGGEMS402-HUB.china.huawei.com (10.3.19.202) with Microsoft SMTP Server id 14.3.487.0; Tue, 1 Dec 2020 19:04:04 +0800 From: Zou Wei To: , , , , , CC: , , Zou Wei Subject: [PATCH -next] firmware: xilinx: Mark pm_api_features_map with static keyword Date: Tue, 1 Dec 2020 19:15:43 +0800 Message-ID: <1606821343-121199-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..943c2ac5 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 EFINE_HASHTABLE(pm_api_features_map, PM_API_FEATURE_CHECK_MAX_ORDER); /** * struct pm_api_feature_data - PM API Feature data -- 2.6.2