summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/ipmi.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/ipmi.h b/include/linux/ipmi.h
index 75311f205806..3e6d8b7ca36a 100644
--- a/include/linux/ipmi.h
+++ b/include/linux/ipmi.h
@@ -488,7 +488,7 @@ int ipmi_addr_equal(struct ipmi_addr *addr1, struct ipmi_addr *addr2);
/* Messages sent to the interface are this format. */
struct ipmi_req
{
- unsigned char *addr; /* Address to send the message to. */
+ unsigned char __user *addr; /* Address to send the message to. */
unsigned int addr_len;
long msgid; /* The sequence number for the message. This
@@ -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.