Re: [PATCH] LoongArch: Fix build warnings about export.h
From: Eric Biggers
Date: Mon Jun 16 2025 - 14:57:46 EST
On Sun, Jun 08, 2025 at 10:15:09PM +0800, Huacai Chen wrote:
> diff --git a/arch/loongarch/lib/crc32-loongarch.c b/arch/loongarch/lib/crc32-loongarch.c
> index b37cd8537b45..db22c2ec55e2 100644
> --- a/arch/loongarch/lib/crc32-loongarch.c
> +++ b/arch/loongarch/lib/crc32-loongarch.c
> @@ -11,6 +11,7 @@
>
> #include <asm/cpu-features.h>
> #include <linux/crc32.h>
> +#include <linux/export.h>
> #include <linux/module.h>
> #include <linux/unaligned.h>
You can drop the change to crc32-loongarch.c, as it would conflict with
https://lore.kernel.org/r/20250601224441.778374-8-ebiggers@xxxxxxxxxx/ and
https://lore.kernel.org/r/20250612183852.114878-1-ebiggers@xxxxxxxxxx/ which are
in crc-next for 6.17 and already handle this issue.
- Eric