VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   32 Branches   54 Tags
author: Tobias Jordan <kernel@cdqe.de> 2020-10-15 20:11:38 -0700 committer: Linus Torvalds <torvalds@linux-foundation.org> 2020-10-16 11:11:20 -0700 commit: 904542dc56524f921a6bab0639ff6249c01e775f parent: f3c9d0a3fe97a8b05548d27e9a8e7a5e6875004c
Commit Summary:
lib/crc32.c: fix trivial typo in preprocessor condition
Diffstat:
1 file changed, 1 insertion, 1 deletion
diff --git a/lib/crc32.c b/lib/crc32.c
index 35a03d03f973..2a68dfd3b96c 100644
--- a/lib/crc32.c
+++ b/lib/crc32.c
@@ -331,7 +331,7 @@ static inline u32 __pure crc32_be_generic(u32 crc, unsigned char const *p,
 	return crc;
 }
 
-#if CRC_LE_BITS == 1
+#if CRC_BE_BITS == 1
 u32 __pure crc32_be(u32 crc, unsigned char const *p, size_t len)
 {
 	return crc32_be_generic(crc, p, len, NULL, CRC32_POLY_BE);