[PATCH] fs/qnx4/*: fix sparse warnings
This patch fixes sparse warnings in the qnx4fs (and might even make qnx4fs work on big-endian boxes) Signed-off-by: Alexey Dobriyan <adobriyan@mail.ru> Signed-off-by: Domen Puncer <domen@coderock.org> Signed-off-by: Anders Larsen <al@alarsen.net> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
committed by
Linus Torvalds
parent
793ae77469
commit
75043cb5b3
@ -12,18 +12,18 @@
|
||||
#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
|
||||
|
Reference in New Issue
Block a user