aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2020-12-23 00:09:58 -0800
committerHerbert Xu <herbert@gondor.apana.org.au>2021-01-03 08:41:39 +1100
commitbbda6e0f1303953c855ee3669655a81b69fbe899 (patch)
tree2365a8e2ed951739929fc0f929a7ea0c564f985b
parentcrypto: blake2s - adjust include guard naming (diff)
downloadlinux-dev-bbda6e0f1303953c855ee3669655a81b69fbe899.tar.xz
linux-dev-bbda6e0f1303953c855ee3669655a81b69fbe899.zip
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>
-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,