From: FUJITA Tomonori Date: Fri, 20 Oct 2006 00:08:18 +0000 (+0900) Subject: [SCSI] replace u8 and u32 with __u8 and __u32 in scsi.h for user space X-Git-Tag: v2.6.19-rc4~86^2~4 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=4a531e8c79fe459e922347461ccc0f0c13de20d5;p=linux-2.6-omap-h63xx.git [SCSI] replace u8 and u32 with __u8 and __u32 in scsi.h for user space Signed-off-by: FUJITA Tomonori Signed-off-by: Mike Christie Signed-off-by: James Bottomley --- diff --git a/include/scsi/scsi.h b/include/scsi/scsi.h index 8a3f0bd0d45..5c0e9791441 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]; }