From: Jean Delvare <jdelvare@suse.de>
To: ibm-acpi-devel@lists.sourceforge.net
Cc: platform-driver-x86@vger.kernel.org,
Henrique de Moraes Holschuh <ibm-acpi@hmh.eng.br>,
Darren Hart <dvhart@infradead.org>
Subject: [PATCH] thinkpad_acpi: Fix warning
Date: Mon, 27 Apr 2015 09:45:06 +0200 [thread overview]
Message-ID: <20150427094506.0aacec22@endymion.delvare> (raw)
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
next reply other threads:[~2015-04-27 7:45 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-27 7:45 Jean Delvare [this message]
[not found] ` <20150427094506.0aacec22-R0o5gVi9kd7kN2dkZ6Wm7A@public.gmane.org>
2015-04-27 11:55 ` [PATCH] thinkpad_acpi: Fix warning Henrique de Moraes Holschuh
2015-04-28 4:53 ` Darren Hart
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20150427094506.0aacec22@endymion.delvare \
--to=jdelvare@suse.de \
--cc=dvhart@infradead.org \
--cc=ibm-acpi-devel@lists.sourceforge.net \
--cc=ibm-acpi@hmh.eng.br \
--cc=platform-driver-x86@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox