megaraid annotation
Subsystems (2)
PATCH 1/1 megaraid annotation
[Sorry about duplicate - forgot to Cc it to linux-scsi first time]
Signed-off-by Al Viro <[email protected]
----
drivers/scsi/megaraid/megaraid_ioctl.h +2 -2
@@ -130,9 +130,9 @@uint8_t reserved[128 ];/* Driver Data: */ -caddr_t user_data; +void __user * user_data;uint32_t user_data_len; -mraid_passthru_t *user_pthru; +mraid_passthru_t __user *user_pthru;mraid_passthru_t *pthru32;dma_addr_t pthru32_h;
drivers/scsi/megaraid/megaraid_mm.c +22 -21
147 lines not on this page · raw message
drivers/scsi/megaraid/megaraid_mm.h +4 -4
@@ -74,11 +74,11 @@uint8_t subopcode;uint16_t adapno;#if BITS_PER_LONG ==32 -uint8_t *buffer; +uint8_t __user *buffer;uint8_t pad[4 ];#endif #if BITS_PER_LONG ==64 -uint8_t *buffer; +uint8_t __user *buffer;#endif uint32_t length; } __attribute__ ((packed)) fcs;
@@ -88,11 +88,11 @@mraid_passthru_t pthru;#if BITS_PER_LONG ==32 -char *data;/* buffer <= 4096 for 0x80 commands */ +char __user *data;/* buffer <= 4096 for 0x80 commands */ char pad[4 ];#endif #if BITS_PER_LONG ==64 -char *data; +char __user *data;#endif } __attribute__ ((packed))mimd_t;