lkml.org 
[lkml]   [2003]   [May]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH 2.5.69] IPMI warning removal
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/
\
 
 \ /
  Last update: 2005-03-22 13:35    [W:0.023 / U:0.316 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site