All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] convert struct scsi_varlen_cdb_hdr in scsi.h to use __u8 for user space
@ 2008-06-29 12:03 FUJITA Tomonori
  2008-06-29 12:43 ` Matthew Wilcox
  0 siblings, 1 reply; 4+ messages in thread
From: FUJITA Tomonori @ 2008-06-29 12:03 UTC (permalink / raw)
  To: James.Bottomley; +Cc: linux-scsi


Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
---
 include/scsi/scsi.h |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/include/scsi/scsi.h b/include/scsi/scsi.h
index 32742c4..01e07a5 100644
--- a/include/scsi/scsi.h
+++ b/include/scsi/scsi.h
@@ -137,10 +137,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 */
 };
-- 
1.5.4.2


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-06-29 13:43 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-29 12:03 [PATCH] convert struct scsi_varlen_cdb_hdr in scsi.h to use __u8 for user space FUJITA Tomonori
2008-06-29 12:43 ` Matthew Wilcox
2008-06-29 13:02   ` FUJITA Tomonori
2008-06-29 13:42     ` Matthew Wilcox

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.