From: Alexander Nyberg <alexn@telia.com>
To: kernel-janitors@vger.kernel.org
Subject: [Kernel-janitors] gcc compilation warning fix
Date: Sun, 25 Jul 2004 20:47:45 +0000 [thread overview]
Message-ID: <1090788465.8868.59.camel@boxen.(null)> (raw)
[-- 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
next reply other threads:[~2004-07-25 20:47 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-07-25 20:47 Alexander Nyberg [this message]
-- strict thread matches above, loose matches on Subject: below --
2004-08-14 19:46 [Kernel-janitors] gcc compilation warning fix maximilian attems
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='1090788465.8868.59.camel@boxen.(null)' \
--to=alexn@telia.com \
--cc=kernel-janitors@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 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.