diff options
| author | Al Viro <[email protected]> | 2007-07-17 08:49:35 +0100 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2007-07-17 11:01:07 -0700 |
| commit | d37c6e1b67e8d7f3c5fceba491dcb09a15cb7772 (patch) | |
| tree | 0475cc3e841e22994b3a779125d4cd90b52dc76d /include/linux/debugobjects.h | |
| parent | cc040a8a0e8ba95fbb0ae1edcb9ec83623b422e3 (diff) | |
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 <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions