]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
[SCSI] replace u8 and u32 with __u8 and __u32 in scsi.h for user space
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Fri, 20 Oct 2006 00:08:18 +0000 (09:08 +0900)
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>
Wed, 25 Oct 2006 22:14:34 +0000 (15:14 -0700)
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>
include/scsi/scsi.h

index 8a3f0bd0d45adef1fde36ae143873c62a9e9bf5f..5c0e9791441c91ab712608b078ba420f0852e1d9 100644 (file)
@@ -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];
 }