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: v3.12-rc1~32144^2~7^2~68^2~4 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4a531e8c79fe459e922347461ccc0f0c13de20d5;p=kernel%2Fkernel-generic.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 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]; }