summaryrefslogtreecommitdiffstats
path: root/Documentation/memory.txt
diff options
context:
space:
mode:
authorAl Viro <viro@ftp.linux.org.uk>2007-07-17 09:49:35 +0200
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-07-17 20:01:07 +0200
commitd37c6e1b67e8d7f3c5fceba491dcb09a15cb7772 (patch)
tree0475cc3e841e22994b3a779125d4cd90b52dc76d /Documentation/memory.txt
parentalpha __init fixes (diff)
downloadlinux-d37c6e1b67e8d7f3c5fceba491dcb09a15cb7772.tar.xz
linux-d37c6e1b67e8d7f3c5fceba491dcb09a15cb7772.zip
saner typechecking in generic unaligned.h
Verify that types would match for assignment (under sizeof, so we are safe from side effects or any code actually getting generated), then explicitly cast everywhere to the fixed-sized types. Kills a bunch of bogus warnings about constants being truncated (gcc, sparse), finds a pile of endianness problems hidden by old noise (sparse). Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'Documentation/memory.txt')
0 files changed, 0 insertions, 0 deletions