Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

[PATCH] crc32.c typo fix

This patch fixes a typo in lib/crc32.c which results in incorrect debug
output.

Signed-off-by: Dominik Hackl <dominik@hackl.dhs.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

authored by

Dominik Hackl and committed by
Linus Torvalds
cfc646fa 4b0271eb

+1 -1
+1 -1
lib/crc32.c
··· 473 473 init = bitreverse(init); 474 474 crc2 = bitreverse(crc1); 475 475 if (crc1 != bitreverse(crc2)) 476 - printf("\nBit reversal fail: 0x%08x -> %0x08x -> 0x%08x\n", 476 + printf("\nBit reversal fail: 0x%08x -> 0x%08x -> 0x%08x\n", 477 477 crc1, crc2, bitreverse(crc2)); 478 478 crc1 = crc32_le(init, buf, len); 479 479 if (crc1 != crc2)