diff options
| author | Alexander Viro <viro@www.linux.org.uk> | 2004-06-18 02:34:35 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2004-06-18 02:34:35 -0700 |
| commit | c5465a54af18a18179e34f933ed3d2407aa717fb (patch) | |
| tree | 39172b7472156426fe874e03705b9944bc23ff11 /include/linux | |
| parent | 0d944920df92fd2a2c99fbde0786f210b43aa4e1 (diff) | |
[PATCH] sparse: ipmi annotation
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/ipmi.h | 4 |
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. |
