mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [patch-kj] sparse checks ipmi
@ 2004-06-21 21:17 maximilian attems
  0 siblings, 0 replies; only message in thread
From: maximilian attems @ 2004-06-21 21:17 UTC (permalink / raw)
  To: minyard; +Cc: linux-kernel


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.

_

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-06-21 21:17 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-06-21 21:17 [patch-kj] sparse checks ipmi maximilian attems

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®