All of lore.kernel.org
 help / color / mirror / Atom feed
* [Kernel-janitors] gcc compilation warning fix
@ 2004-07-25 20:47 Alexander Nyberg
  0 siblings, 0 replies; 2+ messages in thread
From: Alexander Nyberg @ 2004-07-25 20:47 UTC (permalink / raw)
  To: kernel-janitors

[-- Attachment #1: Type: text/plain, Size: 728 bytes --]

The actual prototype is:
typedef	void (*acpi_gpe_handler) (void *context);

(noone was even using the return value)

===== drivers/char/ipmi/ipmi_si_intf.c 1.6 vs edited =====
--- 1.6/drivers/char/ipmi/ipmi_si_intf.c	2004-07-13 13:46:29 +00:00
+++ edited/drivers/char/ipmi/ipmi_si_intf.c	2004-07-25 19:21:12 +00:00
@@ -1132,7 +1132,7 @@
 static int acpi_failure = 0;
 
 /* For GPE-type interrupts. */
-u32 ipmi_acpi_gpe(void *context)
+void ipmi_acpi_gpe(void *context)
 {
 	struct smi_info *smi_info = context;
 	unsigned long   flags;
@@ -1156,7 +1156,6 @@
 	smi_event_handler(smi_info, 0);
  out:
 	spin_unlock_irqrestore(&(smi_info->si_lock), flags);
-	return 0;
 }
 
 static int acpi_gpe_irq_setup(struct smi_info *info)



[-- Attachment #2: Type: text/plain, Size: 167 bytes --]

_______________________________________________
Kernel-janitors mailing list
Kernel-janitors@lists.osdl.org
http://lists.osdl.org/mailman/listinfo/kernel-janitors

^ permalink raw reply	[flat|nested] 2+ messages in thread
* Re: [Kernel-janitors] gcc compilation warning fix
@ 2004-08-14 19:46 maximilian attems
  0 siblings, 0 replies; 2+ messages in thread
From: maximilian attems @ 2004-08-14 19:46 UTC (permalink / raw)
  To: kernel-janitors

[-- Attachment #1: Type: text/plain, Size: 199 bytes --]

On Sun, 25 Jul 2004, Alexander Nyberg wrote:

> The actual prototype is:
> typedef	void (*acpi_gpe_handler) (void *context);
> 
> (noone was even using the return value)
 
already patched in 2.6.8!


[-- Attachment #2: Type: text/plain, Size: 167 bytes --]

_______________________________________________
Kernel-janitors mailing list
Kernel-janitors@lists.osdl.org
http://lists.osdl.org/mailman/listinfo/kernel-janitors

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

end of thread, other threads:[~2004-08-14 19:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-07-25 20:47 [Kernel-janitors] gcc compilation warning fix Alexander Nyberg
  -- strict thread matches above, loose matches on Subject: below --
2004-08-14 19:46 maximilian attems

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.