[PATCH] fs/qnx4/*: fix sparse warnings
[linux-3.10.git] / include / linux / qnxtypes.h
index fb518e318c7c6209c57240a4a9517375884c3c9f..a3eb1137857b15ab616ab6a5e1352fe7e5a87eaf 100644 (file)
 #ifndef _QNX4TYPES_H
 #define _QNX4TYPES_H
 
-typedef __u16 qnx4_nxtnt_t;
+typedef __le16 qnx4_nxtnt_t;
 typedef __u8  qnx4_ftype_t;
 
 typedef struct {
-       __u32 xtnt_blk;
-       __u32 xtnt_size;
+       __le32 xtnt_blk;
+       __le32 xtnt_size;
 } qnx4_xtnt_t;
 
-typedef __u16 qnx4_mode_t;
-typedef __u16 qnx4_muid_t;
-typedef __u16 qnx4_mgid_t;
-typedef __u32 qnx4_off_t;
-typedef __u16 qnx4_nlink_t;
+typedef __le16 qnx4_mode_t;
+typedef __le16 qnx4_muid_t;
+typedef __le16 qnx4_mgid_t;
+typedef __le32 qnx4_off_t;
+typedef __le16 qnx4_nlink_t;
 
 #endif