Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 77ee26e4 authored by Al Viro's avatar Al Viro
Browse files

hpfs: annotate ea



Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 46287aa6
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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)