Re: [PATCH v2] lib/crypto: explicitly include <linux/export.h>
From: Eric Biggers
Date: Mon Jun 16 2025 - 23:27:19 EST
On Fri, Jun 13, 2025 at 11:48:14AM -0700, Eric Biggers wrote:
> From: Eric Biggers <ebiggers@xxxxxxxxxx>
>
> Fix build warnings with W=1 that started appearing after
> commit a934a57a42f6 ("scripts/misc-check: check missing #include
> <linux/export.h> when W=1").
>
> While at it, also sort the include lists alphabetically. (Keep
> asm/irqflags.h last, as otherwise it doesn't build on alpha.)
>
> This handles all of lib/crypto/, but not arch/*/lib/crypto/. The
> exports in arch/*/lib/crypto/ will go away when the code is properly
> integrated into lib/crypto/ as planned.
>
> Signed-off-by: Eric Biggers <ebiggers@xxxxxxxxxx>
>
> v2: keep asm/irqflags.h last, to avoid build error on alpha
> (https://lore.kernel.org/all/202506140001.CtqYqDPn-lkp@xxxxxxxxx/)
Applied to https://git.kernel.org/pub/scm/linux/kernel/git/ebiggers/linux.git/log/?h=libcrypto-next
- Eric