summaryrefslogtreecommitdiff
path: root/include/crypto
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2020-12-23 11:09:58 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2021-01-03 00:41:39 +0300
commitbbda6e0f1303953c855ee3669655a81b69fbe899 (patch)
tree2365a8e2ed951739929fc0f929a7ea0c564f985b /include/crypto
parent8786841bc2020f7f2513a6c74e64912f07b9c0dc (diff)
downloadlinux-bbda6e0f1303953c855ee3669655a81b69fbe899.tar.xz
crypto: blake2s - include <linux/bug.h> instead of <asm/bug.h>
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>
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 3f06183c2d80..bc3fb59442ce 100644
--- a/include/crypto/blake2s.h
+++ b/include/crypto/blake2s.h
@@ -6,12 +6,11 @@
#ifndef _CRYPTO_BLAKE2S_H
#define _CRYPTO_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,