Skip to content

Commit

Permalink
hpfs: annotate ea
Browse files Browse the repository at this point in the history
Signed-off-by: Al Viro <[email protected]>
  • Loading branch information
Al Viro committed May 30, 2012
1 parent 46287aa commit 77ee26e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fs/hpfs/hpfs_fn.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 77ee26e

Please sign in to comment.