Message ID | 20201223081003.373663-10-ebiggers@kernel.org (mailing list archive) |
---|---|
State | Accepted |
Delegated to: | Herbert Xu |
Headers | show |
Series | crypto: arm32-optimized BLAKE2b and BLAKE2s | expand |
On Wed, 23 Dec 2020 at 09:12, Eric Biggers <ebiggers@kernel.org> wrote: > > From: Eric Biggers <ebiggers@google.com> > > 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> > --- > include/crypto/blake2s.h | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > > diff --git a/include/crypto/blake2s.h b/include/crypto/blake2s.h > index 3f06183c2d804..bc3fb59442ce5 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, > -- > 2.29.2 >
diff --git a/include/crypto/blake2s.h b/include/crypto/blake2s.h index 3f06183c2d804..bc3fb59442ce5 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,