diff options
Diffstat (limited to 'recipes-kernel/linux/linux-bsc913x/bsc9131rdb/0003-fix-nonexistant-type-u8-issue.patch')
-rw-r--r-- | recipes-kernel/linux/linux-bsc913x/bsc9131rdb/0003-fix-nonexistant-type-u8-issue.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/recipes-kernel/linux/linux-bsc913x/bsc9131rdb/0003-fix-nonexistant-type-u8-issue.patch b/recipes-kernel/linux/linux-bsc913x/bsc9131rdb/0003-fix-nonexistant-type-u8-issue.patch new file mode 100644 index 0000000..b091290 --- /dev/null +++ b/recipes-kernel/linux/linux-bsc913x/bsc9131rdb/0003-fix-nonexistant-type-u8-issue.patch | |||
@@ -0,0 +1,31 @@ | |||
1 | From: jerry pei <jerry.pei@enea.com> | ||
2 | Date: Mon, 30 Jul 2012 05:06:27 +0200 | ||
3 | Subject: [PATCH] change u8 to __u8 in scsi.h | ||
4 | |||
5 | Signed-off-by: jerry pei <jerry.pei@enea.com> | ||
6 | --- | ||
7 | include/scsi/scsi.h | 8 ++++---- | ||
8 | 1 files changed, 4 insertions(+), 4 deletions(-) | ||
9 | |||
10 | diff --git a/include/scsi/scsi.h b/include/scsi/scsi.h | ||
11 | index 8b4deca..ec3053e 100644 | ||
12 | --- a/include/scsi/scsi.h | ||
13 | +++ b/include/scsi/scsi.h | ||
14 | @@ -149,10 +149,10 @@ struct scsi_cmnd; | ||
15 | |||
16 | /* defined in T10 SCSI Primary Commands-2 (SPC2) */ | ||
17 | struct scsi_varlen_cdb_hdr { | ||
18 | - u8 opcode; /* opcode always == VARIABLE_LENGTH_CMD */ | ||
19 | - u8 control; | ||
20 | - u8 misc[5]; | ||
21 | - u8 additional_cdb_length; /* total cdb length - 8 */ | ||
22 | + __u8 opcode; /* opcode always == VARIABLE_LENGTH_CMD */ | ||
23 | + __u8 control; | ||
24 | + __u8 misc[5]; | ||
25 | + __u8 additional_cdb_length; /* total cdb length - 8 */ | ||
26 | __be16 service_action; | ||
27 | /* service specific data follows */ | ||
28 | }; | ||
29 | -- | ||
30 | 1.7.5.4 | ||
31 | |||