crc32: fix mixing of endian-specific types
authorBob Pearson <rpearson@systemfabricworks.com>
Fri, 23 Mar 2012 22:02:23 +0000 (15:02 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 23 Mar 2012 23:58:37 +0000 (16:58 -0700)
commitce4320ddda4c2520fe77194d3c801ad4e8a8aa11
tree273b405fa1d10a185123d216fd33286d50de74f0
parent60e58d5c9d8d698600e8ccb44b5a13cf99d0d90f
crc32: fix mixing of endian-specific types

crc32.c in its original version freely mixed u32, __le32 and __be32 types
which caused warnings from sparse with __CHECK_ENDIAN__.  This patch fixes
these by forcing the types to u32.

[djwong@us.ibm.com: Minor changelog tweaks]
Signed-off-by: Bob Pearson <rpearson@systemfabricworks.com>
Signed-off-by: Darrick J. Wong <djwong@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
lib/crc32.c