summaryrefslogtreecommitdiff
path: root/lib/crypto/sparc/sha512.h
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@kernel.org>2025-08-15 19:04:57 -0700
committerEric Biggers <ebiggers@kernel.org>2025-08-27 08:15:35 -0700
commit5012bd2dc6ab0c4499923b3b6c6113def9b0c88b (patch)
tree85ec3f8f64d31ea2763ee1d3c038846792daacfe /lib/crypto/sparc/sha512.h
parentd6b6aac0cdb4b4f81cccc531ed76211d56c17444 (diff)
lib/crypto: Drop inline from all *_mod_init_arch() functions
Drop 'inline' from all the *_mod_init_arch() functions so that the compiler will warn about any bugs where they are unused due to not being wired up properly. (There are no such bugs currently, so this just establishes a more robust convention for the future. Of course, these functions also tend to get inlined anyway, regardless of the keyword.) Link: https://lore.kernel.org/r/20250816020457.432040-1-ebiggers@kernel.org Signed-off-by: Eric Biggers <ebiggers@kernel.org>
Diffstat (limited to 'lib/crypto/sparc/sha512.h')
-rw-r--r--lib/crypto/sparc/sha512.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/crypto/sparc/sha512.h b/lib/crypto/sparc/sha512.h
index 55303ab6b15f..a8c37a7d4c39 100644
--- a/lib/crypto/sparc/sha512.h
+++ b/lib/crypto/sparc/sha512.h
@@ -26,7 +26,7 @@ static void sha512_blocks(struct sha512_block_state *state,
}
#define sha512_mod_init_arch sha512_mod_init_arch
-static inline void sha512_mod_init_arch(void)
+static void sha512_mod_init_arch(void)
{
unsigned long cfr;