[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <8684fa57bc064ed8a949e555e7e0ec94@huawei.com>
Date: Tue, 1 Dec 2020 11:35:16 +0000
From: "Zouwei (Samuel)" <zou_wei@...wei.com>
To: "michal.simek@...inx.com" <michal.simek@...inx.com>,
"rajan.vaja@...inx.com" <rajan.vaja@...inx.com>,
"gregkh@...uxfoundation.org" <gregkh@...uxfoundation.org>,
"jolly.shah@...inx.com" <jolly.shah@...inx.com>,
"tejas.patel@...inx.com" <tejas.patel@...inx.com>,
"manish.narani@...inx.com" <manish.narani@...inx.com>
CC: "linux-arm-kernel@...ts.infradead.org"
<linux-arm-kernel@...ts.infradead.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: 答复: [PATCH -next] firmware: xilinx: Mark pm_api_features_map with static keyword
Hi all,
Please ignore this patch, there is a mistake.
I will send v2 soon
-----邮件原件-----
发件人: Zouwei (Samuel)
发送时间: 2020年12月1日 19:16
收件人: michal.simek@...inx.com; rajan.vaja@...inx.com; gregkh@...uxfoundation.org; jolly.shah@...inx.com; tejas.patel@...inx.com; manish.narani@...inx.com
抄送: linux-arm-kernel@...ts.infradead.org; linux-kernel@...r.kernel.org; Zouwei (Samuel) <zou_wei@...wei.com>
主题: [PATCH -next] firmware: xilinx: Mark pm_api_features_map with static keyword
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 <zou_wei@...wei.com>
---
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
Powered by blists - more mailing lists