Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

hpfs: annotate ea

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>

Al Viro 77ee26e4 46287aa6

+2 -2
+2 -2
fs/hpfs/hpfs_fn.h
··· 148 148 149 149 static inline secno ea_sec(struct extended_attribute *ea) 150 150 { 151 - return le32_to_cpu(get_unaligned((secno *)((char *)ea + 9 + ea->namelen))); 151 + return le32_to_cpu(get_unaligned((__le32 *)((char *)ea + 9 + ea->namelen))); 152 152 } 153 153 154 154 static inline secno ea_len(struct extended_attribute *ea) 155 155 { 156 - return le32_to_cpu(get_unaligned((secno *)((char *)ea + 5 + ea->namelen))); 156 + return le32_to_cpu(get_unaligned((__le32 *)((char *)ea + 5 + ea->namelen))); 157 157 } 158 158 159 159 static inline char *ea_data(struct extended_attribute *ea)