Magellan Linux

Contents of /trunk/linux-libc-headers/patches/linux-libc-headers-2.6.31-scsi-consistent-use-of-__u8-in-scsi-scsi.h.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1069 - (show annotations) (download)
Mon Aug 9 18:15:11 2010 UTC (13 years, 9 months ago) by niro
File size: 645 byte(s)
minor scsi.h fixes

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