* [PATCH] thinkpad_acpi: Fix warning
@ 2015-04-27 7:45 Jean Delvare
[not found] ` <20150427094506.0aacec22-R0o5gVi9kd7kN2dkZ6Wm7A@public.gmane.org>
0 siblings, 1 reply; 3+ messages in thread
From: Jean Delvare @ 2015-04-27 7:45 UTC (permalink / raw)
To: ibm-acpi-devel
Cc: platform-driver-x86, Henrique de Moraes Holschuh, Darren Hart
Fix the following warning:
warning: "static" is not at beginning of declaration
void static hotkey_mask_warn_incomplete_mask(void)
^
Signed-off-by: Jean Delvare <jdelvare@suse.de>
Cc: Henrique de Moraes Holschuh <ibm-acpi@hmh.eng.br>
Cc: Darren Hart <dvhart@infradead.org>
---
drivers/platform/x86/thinkpad_acpi.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- linux-4.1-rc0.orig/drivers/platform/x86/thinkpad_acpi.c 2015-04-26 22:49:27.587460658 +0200
+++ linux-4.1-rc0/drivers/platform/x86/thinkpad_acpi.c 2015-04-27 09:39:10.628031136 +0200
@@ -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 &
--
Jean Delvare
SUSE L3 Support
^ permalink raw reply [flat|nested] 3+ messages in thread[parent not found: <20150427094506.0aacec22-R0o5gVi9kd7kN2dkZ6Wm7A@public.gmane.org>]
* Re: [PATCH] thinkpad_acpi: Fix warning [not found] ` <20150427094506.0aacec22-R0o5gVi9kd7kN2dkZ6Wm7A@public.gmane.org> @ 2015-04-27 11:55 ` Henrique de Moraes Holschuh 2015-04-28 4:53 ` Darren Hart 0 siblings, 1 reply; 3+ messages in thread From: Henrique de Moraes Holschuh @ 2015-04-27 11:55 UTC (permalink / raw) To: Jean Delvare, ibm-acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f Cc: Darren Hart, platform-driver-x86-u79uwXL29TY76Z2rM5mHXA On Mon, Apr 27, 2015, at 04:45, Jean Delvare wrote: > Fix the following warning: > > warning: "static" is not at beginning of declaration > void static hotkey_mask_warn_incomplete_mask(void) > ^ > > Signed-off-by: Jean Delvare <jdelvare-l3A5Bk7waGM@public.gmane.org> > Cc: Henrique de Moraes Holschuh <ibm-acpi-N3TV7GIv+o9fyO9Q7EP/yw@public.gmane.org> > Cc: Darren Hart <dvhart-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org> Acked-by: Henrique de Moraes Holschuh <hmh-N3TV7GIv+o9fyO9Q7EP/yw@public.gmane.org> > --- > drivers/platform/x86/thinkpad_acpi.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > --- linux-4.1-rc0.orig/drivers/platform/x86/thinkpad_acpi.c 2015-04-26 22:49:27.587460658 +0200 > +++ linux-4.1-rc0/drivers/platform/x86/thinkpad_acpi.c 2015-04-27 09:39:10.628031136 +0200 > @@ -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 & > > > -- > Jean Delvare > SUSE L3 Support -- "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 ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] thinkpad_acpi: Fix warning 2015-04-27 11:55 ` Henrique de Moraes Holschuh @ 2015-04-28 4:53 ` Darren Hart 0 siblings, 0 replies; 3+ messages in thread From: Darren Hart @ 2015-04-28 4:53 UTC (permalink / raw) To: Henrique de Moraes Holschuh Cc: Jean Delvare, ibm-acpi-devel, platform-driver-x86 On Mon, Apr 27, 2015 at 08:55:50AM -0300, Henrique de Moraes Holschuh wrote: > On Mon, Apr 27, 2015, at 04:45, Jean Delvare wrote: > > Fix the following warning: > > > > warning: "static" is not at beginning of declaration > > void static hotkey_mask_warn_incomplete_mask(void) > > ^ > > > > Signed-off-by: Jean Delvare <jdelvare@suse.de> > > Cc: Henrique de Moraes Holschuh <ibm-acpi@hmh.eng.br> > > Cc: Darren Hart <dvhart@infradead.org> > > Acked-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br> Queued, thank you. -- Darren Hart Intel Open Source Technology Center ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-04-28 4:53 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-27 7:45 [PATCH] thinkpad_acpi: Fix warning Jean Delvare
[not found] ` <20150427094506.0aacec22-R0o5gVi9kd7kN2dkZ6Wm7A@public.gmane.org>
2015-04-27 11:55 ` Henrique de Moraes Holschuh
2015-04-28 4:53 ` Darren Hart
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox