From d37c6e1b67e8d7f3c5fceba491dcb09a15cb7772 Mon Sep 17 00:00:00 2001 From: Al Viro Date: Tue, 17 Jul 2007 08:49:35 +0100 Subject: [PATCH] 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 Signed-off-by: Linus Torvalds --- Reading git-format-patch failed