public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
From: guru <guru@computer-rave.com>
To: linux-scsi@vger.kernel.org
Subject: u8 to __u8
Date: Thu, 25 Feb 2010 18:50:26 -0700	[thread overview]
Message-ID: <4B8728E2.7060707@computer-rave.com> (raw)

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

                 reply	other threads:[~2010-02-26  1:59 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=4B8728E2.7060707@computer-rave.com \
    --to=guru@computer-rave.com \
    --cc=linux-scsi@vger.kernel.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