[PATCH 2.5.69] IPMI warning removal

From: Stephen Hemminger (shemminger@osdl.org)
Date: Fri May 09 2003 - 18:05:26 EST


IPMI driver has warnings because it is putting interrupt mask into int
when it should be using a unsigned long.

diff -Nru a/drivers/char/ipmi/ipmi_msghandler.c b/drivers/char/ipmi/ipmi_msghandler.c
--- a/drivers/char/ipmi/ipmi_msghandler.c Fri May 9 15:54:51 2003
+++ b/drivers/char/ipmi/ipmi_msghandler.c Fri May 9 15:54:51 2003
@@ -174,7 +174,7 @@
 int
 ipmi_register_all_cmd_rcvr(ipmi_user_t user)
 {
- int flags;
+ unsigned long flags;
         int rv = -EBUSY;
 
         write_lock_irqsave(&(user->intf->users_lock), flags);
@@ -193,7 +193,7 @@
 int
 ipmi_unregister_all_cmd_rcvr(ipmi_user_t user)
 {
- int flags;
+ unsigned long flags;
         int rv = -EINVAL;
 
         write_lock_irqsave(&(user->intf->users_lock), flags);
@@ -1023,7 +1023,7 @@
         int rv;
         ipmi_smi_t new_intf;
         struct list_head *entry;
- unsigned int flags;
+ unsigned long flags;
 
 
         /* Make sure the driver is actually initialized, this handles
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu May 15 2003 - 22:00:32 EST