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>
This commit is contained in:
Родитель
8786841bc2
Коммит
bbda6e0f13
|
@ -6,12 +6,11 @@
|
||||||
#ifndef _CRYPTO_BLAKE2S_H
|
#ifndef _CRYPTO_BLAKE2S_H
|
||||||
#define _CRYPTO_BLAKE2S_H
|
#define _CRYPTO_BLAKE2S_H
|
||||||
|
|
||||||
|
#include <linux/bug.h>
|
||||||
#include <linux/types.h>
|
#include <linux/types.h>
|
||||||
#include <linux/kernel.h>
|
#include <linux/kernel.h>
|
||||||
#include <linux/string.h>
|
#include <linux/string.h>
|
||||||
|
|
||||||
#include <asm/bug.h>
|
|
||||||
|
|
||||||
enum blake2s_lengths {
|
enum blake2s_lengths {
|
||||||
BLAKE2S_BLOCK_SIZE = 64,
|
BLAKE2S_BLOCK_SIZE = 64,
|
||||||
BLAKE2S_HASH_SIZE = 32,
|
BLAKE2S_HASH_SIZE = 32,
|
||||||
|
|
Загрузка…
Ссылка в новой задаче