aboutsummaryrefslogtreecommitdiffstats
path: root/include/scsi
diff options
context:
space:
mode:
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2006-10-20 09:08:18 +0900
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>2006-10-25 15:14:34 -0700
commit4a531e8c79fe459e922347461ccc0f0c13de20d5 (patch)
tree39ee0c5b341437129bc118e88e0e2ca3e990abef /include/scsi
parentafc071e6281e4f2af4748b5ddc594334726a37cf (diff)
downloadkernel_samsung_smdk4412-4a531e8c79fe459e922347461ccc0f0c13de20d5.zip
kernel_samsung_smdk4412-4a531e8c79fe459e922347461ccc0f0c13de20d5.tar.gz
kernel_samsung_smdk4412-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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/scsi/scsi.h b/include/scsi/scsi.h
index 8a3f0bd..5c0e979 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];
}