Root/target/linux/generic-2.6/patches-2.6.32/430-scsi_header_fix.patch

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

Archive Download this file



interactive