lkml.org 
[lkml]   [2004]   [Jun]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[patch-kj] sparse checks ipmi

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.
_
-
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 14:04    [W:0.035 / U:0.080 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site