Skip to content

Commit

Permalink
UPSTREAM: crypto: blake2s - include <linux/bug.h> instead of <asm/bug.h>
Browse files Browse the repository at this point in the history
Address the following checkpatch warning:

	WARNING: Use #include <linux/bug.h> instead of <asm/bug.h>

Signed-off-by: Eric Biggers <[email protected]>
Acked-by: Ard Biesheuvel <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>

(cherry picked from commit bbda6e0f1303953c855ee3669655a81b69fbe899)
Bug: 152722841
Bug: 178411248
Change-Id: Ib12103873c97387ba59ff897c44a18e4f1e6da3d
Signed-off-by: Eric Biggers <[email protected]>
  • Loading branch information
ebiggers authored and adelva1984 committed Oct 20, 2021
1 parent b6ae015 commit 291c9c6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions include/crypto/blake2s.h
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 291c9c6

Please sign in to comment.