| .. | .. |
|---|
| 27 | 27 | typedef struct scsi_ioctl_command { |
|---|
| 28 | 28 | unsigned int inlen; |
|---|
| 29 | 29 | unsigned int outlen; |
|---|
| 30 | | - unsigned char data[0]; |
|---|
| 30 | + unsigned char data[]; |
|---|
| 31 | 31 | } Scsi_Ioctl_Command; |
|---|
| 32 | 32 | |
|---|
| 33 | 33 | typedef struct scsi_idlun { |
|---|
| .. | .. |
|---|
| 44 | 44 | int scsi_ioctl_block_when_processing_errors(struct scsi_device *sdev, |
|---|
| 45 | 45 | int cmd, bool ndelay); |
|---|
| 46 | 46 | extern int scsi_ioctl(struct scsi_device *, int, void __user *); |
|---|
| 47 | +extern int scsi_compat_ioctl(struct scsi_device *sdev, int cmd, void __user *arg); |
|---|
| 47 | 48 | |
|---|
| 48 | 49 | #endif /* __KERNEL__ */ |
|---|
| 49 | 50 | #endif /* _SCSI_IOCTL_H */ |
|---|