summaryrefslogtreecommitdiff
path: root/include/crypto
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2020-12-23 00:09:58 -0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-06-22 14:11:05 +0200
commit09342a544c4b712513921840accca5de75535b1a (patch)
tree004a0705c5d3e52ee87833f00f58bb20a256b41e /include/crypto
parentf850f3643d6b4f6ef1813489c8807c494ae8358c (diff)
downloadlinux-09342a544c4b712513921840accca5de75535b1a.tar.gz
linux-09342a544c4b712513921840accca5de75535b1a.tar.bz2
linux-09342a544c4b712513921840accca5de75535b1a.zip
crypto: blake2s - include <linux/bug.h> instead of <asm/bug.h>
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>
Diffstat (limited to 'include/crypto')
-rw-r--r--include/crypto/blake2s.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/crypto/blake2s.h b/include/crypto/blake2s.h
index 00472cb95ead..23eda9b3bc4d 100644
--- a/include/crypto/blake2s.h
+++ b/include/crypto/blake2s.h
@@ -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,