* [PATCH][SCSI][kernel 2.6.0]
@ 2004-01-06 9:05 noreaga
0 siblings, 0 replies; only message in thread
From: noreaga @ 2004-01-06 9:05 UTC (permalink / raw)
To: linux-kernel; +Cc: torvalds
fix wrong data types in include/scsi/scsi.h
in file include/scsi/scsi.h (lines 203 to 221, structs css_modsel_head
and scsi_lun) i found data types u8 instead of __u8.
massimiliano picco
noreaga@virgilio.it
--- linux-2.6.0/include/scsi/scsi.h 2003-12-18 03:59:54.000000000
+0100
+++ linux/include/scsi/scsi.h 2004-01-02 22:05:11.000000000 +0100
@@ -200,25 +200,25 @@
*/
struct ccs_modesel_head {
- u8 _r1; /* reserved */
- u8 medium; /* device-specific medium type */
- u8 _r2; /* reserved */
- u8 block_desc_length; /* block descriptor length */
- u8 density; /* device-specific density code */
- u8 number_blocks_hi; /* number of blocks in this block desc */
- u8 number_blocks_med;
- u8 number_blocks_lo;
- u8 _r3;
- u8 block_length_hi; /* block length for blocks in this desc */
- u8 block_length_med;
- u8 block_length_lo;
+ __u8 _r1; /* reserved */
+ __u8 medium; /* device-specific medium type */
+ __u8 _r2; /* reserved */
+ __u8 block_desc_length; /* block descriptor length */
+ __u8 density; /* device-specific density code */
+ __u8 number_blocks_hi; /* number of blocks in this block desc */
+ __u8 number_blocks_med;
+ __u8 number_blocks_lo;
+ __u8 _r3;
+ __u8 block_length_hi; /* block length for blocks in this desc */
+ __u8 block_length_med;
+ __u8 block_length_lo;
};
/*
* ScsiLun: 8 byte LUN.
*/
struct scsi_lun {
- u8 scsi_lun[8];
+ __u8 scsi_lun[8];
};
/*
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-01-06 9:09 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-01-06 9:05 [PATCH][SCSI][kernel 2.6.0] noreaga
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®