From e49a3eac9207e9575337f70feeb29430f6f16bb7 Mon Sep 17 00:00:00 2001 From: Eric Biggers Date: Fri, 13 Jun 2025 11:48:14 -0700 Subject: lib/crypto: Explicitly include Fix build warnings with W=1 that started appearing after commit a934a57a42f6 ("scripts/misc-check: check missing #include 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. Link: https://lore.kernel.org/r/20250613184814.50173-1-ebiggers@kernel.org Signed-off-by: Eric Biggers --- lib/crypto/mpi/mpi-mul.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/crypto/mpi/mpi-mul.c') diff --git a/lib/crypto/mpi/mpi-mul.c b/lib/crypto/mpi/mpi-mul.c index 7e6ff1ce3e9b..d79f186ad90b 100644 --- a/lib/crypto/mpi/mpi-mul.c +++ b/lib/crypto/mpi/mpi-mul.c @@ -11,6 +11,8 @@ * to avoid revealing of sensitive data due to paging etc. */ +#include + #include "mpi-internal.h" int mpi_mul(MPI w, MPI u, MPI v) -- cgit