Commit f233215c authored by Luiz Capitulino's avatar Luiz Capitulino Committed by Linus Torvalds

[PATCH] drivers/char/ipmi/ipmi_si_intf.c warnings

drivers/char/ipmi/ipmi_si_intf.c: In function `acpi_gpe_irq_setup':
drivers/char/ipmi/ipmi_si_intf.c:1173: warning: passing arg 4 of `acpi_install_gpe_handler' from incompatible pointer type
drivers/char/ipmi/ipmi_si_intf.c: In function `acpi_gpe_irq_cleanup':
drivers/char/ipmi/ipmi_si_intf.c:1193: warning: passing arg 3 of `acpi_remove_gpe_handler' from incompatible pointer type
Signed-off-by: default avatarLuiz Capitulino <lcapitulino@prefeitura.sp.gov.br>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 90f2a140
...@@ -1132,7 +1132,7 @@ static int try_init_mem(int intf_num, struct smi_info **new_info) ...@@ -1132,7 +1132,7 @@ static int try_init_mem(int intf_num, struct smi_info **new_info)
static int acpi_failure = 0; static int acpi_failure = 0;
/* For GPE-type interrupts. */ /* For GPE-type interrupts. */
void ipmi_acpi_gpe(void *context) u32 ipmi_acpi_gpe(void *context)
{ {
struct smi_info *smi_info = context; struct smi_info *smi_info = context;
unsigned long flags; unsigned long flags;
...@@ -1156,6 +1156,7 @@ void ipmi_acpi_gpe(void *context) ...@@ -1156,6 +1156,7 @@ void ipmi_acpi_gpe(void *context)
smi_event_handler(smi_info, 0); smi_event_handler(smi_info, 0);
out: out:
spin_unlock_irqrestore(&(smi_info->si_lock), flags); spin_unlock_irqrestore(&(smi_info->si_lock), flags);
return 0;
} }
static int acpi_gpe_irq_setup(struct smi_info *info) static int acpi_gpe_irq_setup(struct smi_info *info)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment