diff options
author | 2007-07-26 17:46:19 +0100 | |
---|---|---|
committer | 2007-07-26 11:11:57 -0700 | |
commit | 60262e58e305f27d05eefeda172117521514f364 (patch) | |
tree | 5922886821cecd727554b8e8b0544bc01b6b985e /kernel | |
parent | m68k {in,out}_le{16,32} endianness misannotation (diff) | |
download | wireguard-linux-60262e58e305f27d05eefeda172117521514f364.tar.xz wireguard-linux-60262e58e305f27d05eefeda172117521514f364.zip |
arm unaligned.h annotations
Have put_unaligned() warn if types would be wrong
for assignment, slap force-casts where needed. Cast the
result of get_unaligned to typeof(*ptr). With that in
place we get proper typechecking, both from gcc and from sparse,
including that for bitwise types.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions