X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Flinux%2Fmtio.h;h=4f2daa83d3ad0aaa74df51e5941bf5e222b7785a;hb=9bf4aaab3e101692164d49b7ca357651eb691cb6;hp=692088c6361d842fadc594dcec796610ce76286a;hpb=db216c3d5e4c040e557a50f8f5d35d5c415e8c1c;p=linux-2.6.git diff --git a/include/linux/mtio.h b/include/linux/mtio.h index 692088c63..4f2daa83d 100644 --- a/include/linux/mtio.h +++ b/include/linux/mtio.h @@ -204,7 +204,7 @@ struct mtftseg unsigned mt_segno; /* the segment to read or write */ unsigned mt_mode; /* modes for read/write (sync/async etc.) */ int mt_result; /* result of r/w request, not of the ioctl */ - void *mt_data; /* User space buffer: must be 29kb */ + void __user *mt_data; /* User space buffer: must be 29kb */ }; /* get tape capacity (ftape/zftape)