From: maximilian attems <janitor@sternwelten.at>
To: minyard@mvista.com
Cc: linux-kernel@vger.kernel.org
Subject: [patch-kj] sparse checks ipmi
Date: Mon, 21 Jun 2004 23:17:48 +0200 [thread overview]
Message-ID: <20040621211748.GO1545@sputnik.stro.at> (raw)
From: Alexander Nyberg <alexn@telia.com>
Sparse checks for include/linux/ipmi.h
Signed-off-by: Alexander Nyberg <alexn@telia.com>
Signed-off-by: Maximilian Attems <janitor@sternwelten.at>
---
linux-2.6.7-max/include/linux/ipmi.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff -puN include/linux/ipmi.h~sparse-ipmi include/linux/ipmi.h
--- linux-2.6.7/include/linux/ipmi.h~sparse-ipmi 2004-06-18 10:34:55.000000000 +0200
+++ linux-2.6.7-max/include/linux/ipmi.h 2004-06-18 10:34:55.000000000 +0200
@@ -159,7 +159,7 @@ struct ipmi_msg
unsigned char netfn;
unsigned char cmd;
unsigned short data_len;
- unsigned char *data;
+ unsigned char __user *data;
};
/*
@@ -539,7 +539,7 @@ struct ipmi_recv
int recv_type; /* Is this a command, response or an
asyncronous event. */
- unsigned char *addr; /* Address the message was from is put
+ unsigned char __user *addr;/* Address the message was from is put
here. The caller must supply the
memory. */
unsigned int addr_len; /* The size of the address buffer.
_
reply other threads:[~2004-06-21 21:17 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=20040621211748.GO1545@sputnik.stro.at \
--to=janitor@sternwelten.at \
--cc=linux-kernel@vger.kernel.org \
--cc=minyard@mvista.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
all inboxes | Powered by JetHome®