diff options
author | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2006-10-20 09:08:18 +0900 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.il.steeleye.com> | 2006-10-25 15:14:34 -0700 |
commit | 4a531e8c79fe459e922347461ccc0f0c13de20d5 (patch) | |
tree | 39ee0c5b341437129bc118e88e0e2ca3e990abef /include/scsi | |
parent | afc071e6281e4f2af4748b5ddc594334726a37cf (diff) | |
download | linux-4a531e8c79fe459e922347461ccc0f0c13de20d5.tar.bz2 |
[SCSI] replace u8 and u32 with __u8 and __u32 in scsi.h for user space
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'include/scsi')
-rw-r--r-- | include/scsi/scsi.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/scsi/scsi.h b/include/scsi/scsi.h index 8a3f0bd0d45a..5c0e9791441c 100644 --- a/include/scsi/scsi.h +++ b/include/scsi/scsi.h @@ -433,7 +433,7 @@ struct scsi_lun { #define SCSI_IOCTL_GET_PCI 0x5387 /* Pull a u32 out of a SCSI message (using BE SCSI conventions) */ -static inline u32 scsi_to_u32(u8 *ptr) +static inline __u32 scsi_to_u32(__u8 *ptr) { return (ptr[0]<<24) + (ptr[1]<<16) + (ptr[2]<<8) + ptr[3]; } |