* [PATCH] sony-laptop: fix sparse non-ANSI function warning
@ 2011-01-09 3:56 Randy Dunlap
2011-01-10 16:55 ` Matthew Garrett
0 siblings, 1 reply; 2+ messages in thread
From: Randy Dunlap @ 2011-01-09 3:56 UTC (permalink / raw)
To: platx86; +Cc: Matthew Garrett, Mattia Dongili
From: Randy Dunlap <randy.dunlap@oracle.com>
Fix sparse warning for non-ANSI function declaration:
drivers/platform/x86/sony-laptop.c:1134:35: warning: non-ANSI function declaration of function 'sony_nc_rfkill_update'
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Cc: Matthew Garrett <mjg@redhat.com>
Cc: Mattia Dongili <malattia@linux.it>
---
drivers/platform/x86/sony-laptop.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- lnx0107.orig/drivers/platform/x86/sony-laptop.c
+++ lnx0107/drivers/platform/x86/sony-laptop.c
@@ -1131,7 +1131,7 @@ static int sony_nc_setup_rfkill(struct a
return err;
}
-static void sony_nc_rfkill_update()
+static void sony_nc_rfkill_update(void)
{
enum sony_nc_rfkill i;
int result;
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] sony-laptop: fix sparse non-ANSI function warning
2011-01-09 3:56 [PATCH] sony-laptop: fix sparse non-ANSI function warning Randy Dunlap
@ 2011-01-10 16:55 ` Matthew Garrett
0 siblings, 0 replies; 2+ messages in thread
From: Matthew Garrett @ 2011-01-10 16:55 UTC (permalink / raw)
To: Randy Dunlap; +Cc: platx86, Mattia Dongili
Applied, thanks.
--
Matthew Garrett | mjg59@srcf.ucam.org
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-01-10 16:55 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-09 3:56 [PATCH] sony-laptop: fix sparse non-ANSI function warning Randy Dunlap
2011-01-10 16:55 ` Matthew Garrett
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox