mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: noreaga <noreaga@virgilio.it>
To: linux-kernel@vger.kernel.org
Cc: torvalds@osdl.org
Subject: [PATCH][SCSI][kernel 2.6.0]
Date: Tue, 06 Jan 2004 10:05:28 +0100	[thread overview]
Message-ID: <1073379928.244.11.camel@gianplacido.dopenet.org> (raw)

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];
 };
                                                                                                                               
 /*


                 reply	other threads:[~2004-01-06  9:09 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1073379928.244.11.camel@gianplacido.dopenet.org \
    --to=noreaga@virgilio.it \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@osdl.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®