Commit 003f6c9df54970d8b19578d195b3e2b398cdbde2

Authored by H Hartley Sweeten
Committed by Linus Torvalds
1 parent 1a4b1a41b8

lib/sha1.c: quiet sparse noise about symbol not declared

Include <linux/cryptohash.h> to pickup the declarations for sha_transform
and sha_init to quite the sparse noise:

  warning: symbol 'sha_transform' was not declared. Should it be static?
  warning: symbol 'sha_init' was not declared. Should it be static?

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Acked-by: Mandeep Singh Baines <msb@chromium.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

Showing 1 changed file with 1 additions and 0 deletions Side-by-side Diff

... ... @@ -8,6 +8,7 @@
8 8 #include <linux/kernel.h>
9 9 #include <linux/module.h>
10 10 #include <linux/bitops.h>
  11 +#include <linux/cryptohash.h>
11 12 #include <asm/unaligned.h>
12 13  
13 14 /*