]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
batman-adv: Switch to crc32 header for crc32c
authorSven Eckelmann <sven@narfation.org>
Sun, 13 Apr 2025 08:14:42 +0000 (10:14 +0200)
committerSimon Wunderlich <sw@simonwunderlich.de>
Sun, 13 Apr 2025 09:11:31 +0000 (11:11 +0200)
The crc32c() function was moved in commit 8df36829045a ("lib/crc32:
standardize on crc32c() name for Castagnoli CRC32") from linux/crc32c.h to
linux/crc32.h. The former is just an include file which redirects to the
latter.

Avoid the indirection by directly including the correct header file.

Signed-off-by: Sven Eckelmann <sven@narfation.org>
Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
net/batman-adv/main.c
net/batman-adv/translation-table.c

index e41f816f0887b8a9e3a7d5e59602c0ca78ca107f..c0bc755133558ffc488619bea23a5ad7db27dd8b 100644 (file)
@@ -11,7 +11,7 @@
 #include <linux/build_bug.h>
 #include <linux/byteorder/generic.h>
 #include <linux/container_of.h>
-#include <linux/crc32c.h>
+#include <linux/crc32.h>
 #include <linux/device.h>
 #include <linux/errno.h>
 #include <linux/gfp.h>
index 4a3165920de19fbc4c6e2f37f088507a3a2cc547..8d0e04e770cb68f4feb197f499221610ed017046 100644 (file)
@@ -14,7 +14,7 @@
 #include <linux/cache.h>
 #include <linux/compiler.h>
 #include <linux/container_of.h>
-#include <linux/crc32c.h>
+#include <linux/crc32.h>
 #include <linux/err.h>
 #include <linux/errno.h>
 #include <linux/etherdevice.h>