git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
VServer 1.9.2 (patch-2.6.8.1-vs1.9.2.diff)
[linux-2.6.git]
/
drivers
/
message
/
fusion
/
mptctl.h
diff --git
a/drivers/message/fusion/mptctl.h
b/drivers/message/fusion/mptctl.h
index
47ffd97
..
cc4ecf0
100644
(file)
--- a/
drivers/message/fusion/mptctl.h
+++ b/
drivers/message/fusion/mptctl.h
@@
-115,7
+115,7
@@
struct mpt_fw_xfer {
unsigned int iocnum; /* IOC unit number */
unsigned int fwlen;
struct mpt_fw_xfer {
unsigned int iocnum; /* IOC unit number */
unsigned int fwlen;
- void
*bufp;
/* Pointer to firmware buffer */
+ void
__user *bufp;
/* Pointer to firmware buffer */
};
#if defined(__KERNEL__) && defined(CONFIG_COMPAT)
};
#if defined(__KERNEL__) && defined(CONFIG_COMPAT)
@@
-332,10
+332,10
@@
typedef struct mpt_ioctl_replace_fw {
struct mpt_ioctl_command {
mpt_ioctl_header hdr;
int timeout; /* optional (seconds) */
struct mpt_ioctl_command {
mpt_ioctl_header hdr;
int timeout; /* optional (seconds) */
- char *replyFrameBufPtr;
- char *dataInBufPtr;
- char *dataOutBufPtr;
- char *senseDataPtr;
+ char
__user
*replyFrameBufPtr;
+ char
__user
*dataInBufPtr;
+ char
__user
*dataOutBufPtr;
+ char
__user
*senseDataPtr;
int maxReplyBytes;
int dataInSize;
int dataOutSize;
int maxReplyBytes;
int dataInSize;
int dataOutSize;