Re: [PATCH] fs/ufs/util.h 2nd parameter of fs32_to_cpu is not boolean

2008-02-16 Thread Evgeniy Dushistov
On Sat, Feb 16, 2008 at 08:38:15PM +0100, Roel Kluin wrote: > from: fs/befs/endian.h +33 > static inline u32 > fs32_to_cpu(const struct super_block *sb, fs32 n) > { > if (BEFS_SB(sb)->byte_order == BEFS_BYTESEX_LE) > return le32_to_cpu((__force __le32)n); > else >

[PATCH] fs/ufs/util.h 2nd parameter of fs32_to_cpu is not boolean

2008-02-16 Thread Roel Kluin
from: fs/befs/endian.h +33 static inline u32 fs32_to_cpu(const struct super_block *sb, fs32 n) { if (BEFS_SB(sb)->byte_order == BEFS_BYTESEX_LE) return le32_to_cpu((__force __le32)n); else return be32_to_cpu((__force __be32)n); } The 2nd parameter

[PATCH] fs/ufs/util.h 2nd parameter of fs32_to_cpu is not boolean

2008-02-16 Thread Roel Kluin
from: fs/befs/endian.h +33 static inline u32 fs32_to_cpu(const struct super_block *sb, fs32 n) { if (BEFS_SB(sb)-byte_order == BEFS_BYTESEX_LE) return le32_to_cpu((__force __le32)n); else return be32_to_cpu((__force __be32)n); } The 2nd parameter is

Re: [PATCH] fs/ufs/util.h 2nd parameter of fs32_to_cpu is not boolean

2008-02-16 Thread Evgeniy Dushistov
On Sat, Feb 16, 2008 at 08:38:15PM +0100, Roel Kluin wrote: from: fs/befs/endian.h +33 static inline u32 fs32_to_cpu(const struct super_block *sb, fs32 n) { if (BEFS_SB(sb)-byte_order == BEFS_BYTESEX_LE) return le32_to_cpu((__force __le32)n); else