* u8 to __u8
@ 2010-02-26 1:50 guru
0 siblings, 0 replies; only message in thread
From: guru @ 2010-02-26 1:50 UTC (permalink / raw)
To: linux-scsi
[-- Attachment #1: Type: text/plain, Size: 93 bytes --]
HI
It looks like the imclude/scsi/scsi.h needs u8 changed to __u8
Take care
oneforall
Brain
[-- Attachment #2: linux-2.6.33-scsi.h-u8-fix.diff --]
[-- Type: text/plain, Size: 640 bytes --]
--- linux-2.6.33/include/scsi/scsi.h.org 2010-02-24 11:52:17.000000000 -0700
+++ linux-2.6.33/include/scsi/scsi.h 2010-02-25 18:40:19.930379908 -0700
@@ -149,10 +149,10 @@
/* defined in T10 SCSI Primary Commands-2 (SPC2) */
struct scsi_varlen_cdb_hdr {
- u8 opcode; /* opcode always == VARIABLE_LENGTH_CMD */
- u8 control;
- u8 misc[5];
- u8 additional_cdb_length; /* total cdb length - 8 */
+ __u8 opcode; /* opcode always == VARIABLE_LENGTH_CMD */
+ __u8 control;
+ __u8 misc[5];
+ __u8 additional_cdb_length; /* total cdb length - 8 */
__be16 service_action;
/* service specific data follows */
};
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2010-02-26 1:59 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-26 1:50 u8 to __u8 guru
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox