All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH -next] firmware: xilinx: Mark pm_api_features_map with static keyword
@ 2020-12-01 11:15 ` Zou Wei
  0 siblings, 0 replies; 4+ messages in thread
From: Zou Wei @ 2020-12-01 11:15 UTC (permalink / raw)
  To: michal.simek, rajan.vaja, gregkh, jolly.shah, tejas.patel, manish.narani
  Cc: linux-arm-kernel, linux-kernel, Zou Wei

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@huawei.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


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH -next] firmware: xilinx: Mark pm_api_features_map with static keyword
@ 2020-12-01 11:15 ` Zou Wei
  0 siblings, 0 replies; 4+ messages in thread
From: Zou Wei @ 2020-12-01 11:15 UTC (permalink / raw)
  To: michal.simek, rajan.vaja, gregkh, jolly.shah, tejas.patel, manish.narani
  Cc: Zou Wei, linux-kernel, linux-arm-kernel

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@huawei.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


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* 答复: [PATCH -next] firmware: xilinx: Mark pm_api_features_map with static keyword
  2020-12-01 11:15 ` Zou Wei
@ 2020-12-01 11:35   ` Zouwei (Samuel)
  -1 siblings, 0 replies; 4+ messages in thread
From: Zouwei (Samuel) @ 2020-12-01 11:35 UTC (permalink / raw)
  To: michal.simek, rajan.vaja, gregkh, jolly.shah, tejas.patel, manish.narani
  Cc: linux-arm-kernel, linux-kernel

Hi all,
Please ignore this patch, there is a mistake.
I will send v2 soon

-----邮件原件-----
发件人: Zouwei (Samuel) 
发送时间: 2020年12月1日 19:16
收件人: michal.simek@xilinx.com; rajan.vaja@xilinx.com; gregkh@linuxfoundation.org; jolly.shah@xilinx.com; tejas.patel@xilinx.com; manish.narani@xilinx.com
抄送: linux-arm-kernel@lists.infradead.org; linux-kernel@vger.kernel.org; Zouwei (Samuel) <zou_wei@huawei.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@huawei.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


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* 答复: [PATCH -next] firmware: xilinx: Mark pm_api_features_map with static keyword
@ 2020-12-01 11:35   ` Zouwei (Samuel)
  0 siblings, 0 replies; 4+ messages in thread
From: Zouwei (Samuel) @ 2020-12-01 11:35 UTC (permalink / raw)
  To: michal.simek, rajan.vaja, gregkh, jolly.shah, tejas.patel, manish.narani
  Cc: linux-kernel, linux-arm-kernel

Hi all,
Please ignore this patch, there is a mistake.
I will send v2 soon

-----邮件原件-----
发件人: Zouwei (Samuel) 
发送时间: 2020年12月1日 19:16
收件人: michal.simek@xilinx.com; rajan.vaja@xilinx.com; gregkh@linuxfoundation.org; jolly.shah@xilinx.com; tejas.patel@xilinx.com; manish.narani@xilinx.com
抄送: linux-arm-kernel@lists.infradead.org; linux-kernel@vger.kernel.org; Zouwei (Samuel) <zou_wei@huawei.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@huawei.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

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-12-01 11:36 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-01 11:15 [PATCH -next] firmware: xilinx: Mark pm_api_features_map with static keyword Zou Wei
2020-12-01 11:15 ` Zou Wei
2020-12-01 11:35 ` 答复: " Zouwei (Samuel)
2020-12-01 11:35   ` Zouwei (Samuel)

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.