[PATCH] IPMI warnings

From: Geert Uytterhoeven
Date: Thu Feb 19 2004 - 16:12:41 EST


Hi Corey,

When compiling the IPMI drivers on m68k, I needed a few more includes:
- <asm/irq.h> (for disable_irq_nosync() and enable_irq())
- <linux/types.h> (for size_t)
- <asm/system.h> (for printk())

--- linux-2.6.3/drivers/char/ipmi/ipmi_kcs_intf.c 2003-08-24 09:49:00.000000000 +0200
+++ linux-m68k-2.6.3/drivers/char/ipmi/ipmi_kcs_intf.c 2004-02-15 14:48:15.000000000 +0100
@@ -55,6 +55,7 @@
#include <linux/rcupdate.h>
#include <linux/ipmi_smi.h>
#include <asm/io.h>
+#include <asm/irq.h>
#include "ipmi_kcs_sm.h"
#include <linux/init.h>

--- linux-2.6.3/drivers/char/ipmi/ipmi_kcs_sm.c 2003-04-08 10:05:05.000000000 +0200
+++ linux-m68k-2.6.3/drivers/char/ipmi/ipmi_kcs_sm.c 2004-02-19 17:30:59.000000000 +0100
@@ -37,8 +37,11 @@
* that document.
*/

+#include <linux/types.h>
+
#include <asm/io.h>
#include <asm/string.h> /* Gets rid of memcpy warning */
+#include <asm/system.h>

#include "ipmi_kcs_sm.h"


Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/