]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
crypto: blake2s - include <linux/bug.h> instead of <asm/bug.h>
authorEric Biggers <ebiggers@google.com>
Wed, 23 Dec 2020 08:09:58 +0000 (00:09 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 25 Jun 2022 09:49:01 +0000 (11:49 +0200)
commit bbda6e0f1303953c855ee3669655a81b69fbe899 upstream.

Address the following checkpatch warning:

WARNING: Use #include <linux/bug.h> instead of <asm/bug.h>

Signed-off-by: Eric Biggers <ebiggers@google.com>
Acked-by: Ard Biesheuvel <ardb@kernel.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
include/crypto/blake2s.h

index 00472cb95ead110514a0050c9fa878b2b9192ec5..23eda9b3bc4dfcd89f131b35d247c2a64da95b26 100644 (file)
@@ -6,12 +6,11 @@
 #ifndef BLAKE2S_H
 #define BLAKE2S_H
 
+#include <linux/bug.h>
 #include <linux/types.h>
 #include <linux/kernel.h>
 #include <linux/string.h>
 
-#include <asm/bug.h>
-
 enum blake2s_lengths {
        BLAKE2S_BLOCK_SIZE = 64,
        BLAKE2S_HASH_SIZE = 32,