Skip to contentSkip to conversation

thinkpad_acpi: Fix warning

PATCH Applied Jean Delvare 3 participants 3 messages Apr 27, 2015 – Apr 28, 2015 1 message not in the archive x86 platform drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 thinkpad_acpi: Fix warning

Fix the following warning:

warning: "static" is not at beginning of declaration
void static hotkey_mask_warn_incomplete_mask(void) ^

Cc Henrique de Moraes Holschuh <[email protected]>
Cc Darren Hart <[email protected]>
---
 drivers/platform/x86/thinkpad_acpi.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/platform/x86/thinkpad_acpi.c +1 -1
@@ -2093,7 +2093,7 @@ static int hotkey_mask_get(void)
 	return 0;
 }
 
-void static hotkey_mask_warn_incomplete_mask(void)
+static void hotkey_mask_warn_incomplete_mask(void)
 {
 	/* log only what the user can fix... */
 	const u32 wantedmask = hotkey_driver_mask &
Signature · 2 lines
Jean Delvare
SUSE L3 Support

A message that is not in the archive (sent off-list or not yet received): [email protected]

#2 lore raw
Quoted 9 lines · Jean Delvare

Fix the following warning:

warning: "static" is not at beginning of declaration
void static hotkey_mask_warn_incomplete_mask(void) ^

Cc Henrique de Moraes Holschuh <ibm-acpi-N3TV7GIv+o9fyO9Q7EP/[email protected]>
Cc Darren Hart <[email protected]>
Quoted 20 lines
---
 drivers/platform/x86/thinkpad_acpi.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/platform/x86/thinkpad_acpi.c +1 -1
@@ -2093,7 +2093,7 @@ static int hotkey_mask_get(void)
 	return 0;
 }
 
-void static hotkey_mask_warn_incomplete_mask(void)
+static void hotkey_mask_warn_incomplete_mask(void)
 {
 	/* log only what the user can fix... */
 	const u32 wantedmask = hotkey_driver_mask &
Signature · 3 lines
-- 
Jean Delvare
SUSE L3 Support
Signature · 11 lines
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh

------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
Applied
#3 lore raw
Quoted 7 lines · Henrique de Moraes Holschuh
Quoted 6 lines · Jean Delvare

Fix the following warning:

warning: "static" is not at beginning of declaration
void static hotkey_mask_warn_incomplete_mask(void) ^

Quoted 5 lines
Quoted 3 lines
Cc Henrique de Moraes Holschuh <[email protected]>
Cc Darren Hart <[email protected]>

Queued, thank you.

Signature · 2 lines
Darren Hart
Intel Open Source Technology Center