Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save GustavoARSilva/525e1f93355398325f01c465dcdb80d4 to your computer and use it in GitHub Desktop.

Select an option

Save GustavoARSilva/525e1f93355398325f01c465dcdb80d4 to your computer and use it in GitHub Desktop.
diff --git a/block/scsi_ioctl.c b/block/scsi_ioctl.c
index ef722f04f88a..b0e428cbeef7 100644
--- a/block/scsi_ioctl.c
+++ b/block/scsi_ioctl.c
@@ -653,7 +653,7 @@ struct compat_cdrom_generic_command {
unsigned char data_direction;
compat_int_t quiet;
compat_int_t timeout;
- compat_caddr_t reserved[1];
+ compat_caddr_t reserved[];
};
#endif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment