We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cc68e3b commit 0d2daf5Copy full SHA for 0d2daf5
lib/crc32.c
@@ -50,7 +50,7 @@ MODULE_LICENSE("GPL");
50
static inline u32
51
crc32_body(u32 crc, unsigned char const *buf, size_t len, const u32 (*tab)[256])
52
{
53
-# if __BYTE_ORDER == __LITTLE_ENDIAN
+# ifdef __LITTLE_ENDIAN
54
# define DO_CRC(x) crc = tab[0][(crc ^ (x)) & 255] ^ (crc >> 8)
55
# define DO_CRC4 crc = tab[3][(crc) & 255] ^ \
56
tab[2][(crc >> 8) & 255] ^ \
0 commit comments