diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2012-04-17 16:26:46 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-05-29 23:28:39 -0400 |
commit | 77ee26e44c28823a29bc09091950544566ae7cea (patch) | |
tree | d77497d1d7acdd46bd0a07666427021e832ff1ce /fs/hpfs | |
parent | 46287aa652fa8ea1edac41817ddc63332495ffc3 (diff) |
hpfs: annotate ea
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/hpfs')
-rw-r--r-- | fs/hpfs/hpfs_fn.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/hpfs/hpfs_fn.h b/fs/hpfs/hpfs_fn.h index 067269143543..1acb40f55a3a 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) | |||
148 | 148 | ||
149 | static inline secno ea_sec(struct extended_attribute *ea) | 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 | static inline secno ea_len(struct extended_attribute *ea) | 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 | static inline char *ea_data(struct extended_attribute *ea) | 159 | static inline char *ea_data(struct extended_attribute *ea) |