From: Al Viro Date: Tue, 17 Apr 2012 20:26:46 +0000 (-0400) Subject: hpfs: annotate ea X-Git-Tag: v3.5-rc1~15^2~65 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=77ee26e44c28823a29bc09091950544566ae7cea;p=~emulex%2Finfiniband.git hpfs: annotate ea Signed-off-by: Al Viro --- diff --git a/fs/hpfs/hpfs_fn.h b/fs/hpfs/hpfs_fn.h index 06726914354..1acb40f55a3 100644 --- a/fs/hpfs/hpfs_fn.h +++ b/fs/hpfs/hpfs_fn.h @@ -148,12 +148,12 @@ static inline struct extended_attribute *next_ea(struct extended_attribute *ea) static inline secno ea_sec(struct extended_attribute *ea) { - return le32_to_cpu(get_unaligned((secno *)((char *)ea + 9 + ea->namelen))); + return le32_to_cpu(get_unaligned((__le32 *)((char *)ea + 9 + ea->namelen))); } static inline secno ea_len(struct extended_attribute *ea) { - return le32_to_cpu(get_unaligned((secno *)((char *)ea + 5 + ea->namelen))); + return le32_to_cpu(get_unaligned((__le32 *)((char *)ea + 5 + ea->namelen))); } static inline char *ea_data(struct extended_attribute *ea)