hc
2023-12-09 b22da3d8526a935aa31e086e63f60ff3246cb61c
kernel/include/scsi/scsi_ioctl.h
....@@ -27,7 +27,7 @@
2727 typedef struct scsi_ioctl_command {
2828 unsigned int inlen;
2929 unsigned int outlen;
30
- unsigned char data[0];
30
+ unsigned char data[];
3131 } Scsi_Ioctl_Command;
3232
3333 typedef struct scsi_idlun {
....@@ -44,6 +44,7 @@
4444 int scsi_ioctl_block_when_processing_errors(struct scsi_device *sdev,
4545 int cmd, bool ndelay);
4646 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);
4748
4849 #endif /* __KERNEL__ */
4950 #endif /* _SCSI_IOCTL_H */