From: Stephen Hemminger <shemminger@osdl.org>
To: Linus Torvalds <torvalds@transmeta.com>,
Corey Minyard <minyard@mvista.com>
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH 2.5.69] IPMI warning removal
Date: Fri, 9 May 2003 16:05:26 -0700 [thread overview]
Message-ID: <20030509160526.4b5d6a60.shemminger@osdl.org> (raw)
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
reply other threads:[~2003-05-09 22:53 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20030509160526.4b5d6a60.shemminger@osdl.org \
--to=shemminger@osdl.org \
--cc=linux-kernel@vger.kernel.org \
--cc=minyard@mvista.com \
--cc=torvalds@transmeta.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).