X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=drivers%2Fmessage%2Ffusion%2Fmptctl.h;h=cc4ecf0382df2c29edf15e5659c5cddcd18d0c5a;hb=9bf4aaab3e101692164d49b7ca357651eb691cb6;hp=47ffd977d1aa641b18938c7cf87fd44854210c5d;hpb=9213980e6a70d8473e0ffd4b39ab5b6caaba9ff5;p=linux-2.6.git diff --git a/drivers/message/fusion/mptctl.h b/drivers/message/fusion/mptctl.h index 47ffd977d..cc4ecf038 100644 --- 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; - void *bufp; /* Pointer to firmware buffer */ + void __user *bufp; /* Pointer to firmware buffer */ }; #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) */ - 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;