Skip to content

Commit 77ee26e

Browse files
author
Al Viro
committed
hpfs: annotate ea
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
1 parent 46287aa commit 77ee26e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎fs/hpfs/hpfs_fn.h‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,12 +148,12 @@ static inline struct extended_attribute *next_ea(struct extended_attribute *ea)
148148

149149
static inline secno ea_sec(struct extended_attribute *ea)
150150
{
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)));
152152
}
153153

154154
static inline secno ea_len(struct extended_attribute *ea)
155155
{
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)));
157157
}
158158

159159
static inline char *ea_data(struct extended_attribute *ea)

0 commit comments

Comments
 (0)