From: Al Viro Date: Thu, 26 Jul 2007 16:46:19 +0000 (+0100) Subject: arm unaligned.h annotations X-Git-Tag: v2.6.23-rc2~233 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=60262e58e305f27d05eefeda172117521514f364;p=pandora-kernel.git 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 Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed