430-scsi_header_fix.patch 560 B

1234567891011121314151617
  1. --- a/include/scsi/scsi.h
  2. +++ b/include/scsi/scsi.h
  3. @@ -149,10 +149,10 @@ struct scsi_cmnd;
  4. /* defined in T10 SCSI Primary Commands-2 (SPC2) */
  5. struct scsi_varlen_cdb_hdr {
  6. - u8 opcode; /* opcode always == VARIABLE_LENGTH_CMD */
  7. - u8 control;
  8. - u8 misc[5];
  9. - u8 additional_cdb_length; /* total cdb length - 8 */
  10. + __u8 opcode; /* opcode always == VARIABLE_LENGTH_CMD */
  11. + __u8 control;
  12. + __u8 misc[5];
  13. + __u8 additional_cdb_length; /* total cdb length - 8 */
  14. __be16 service_action;
  15. /* service specific data follows */
  16. };