]> git.baikalelectronics.ru Git - kernel.git/commit
staging: skein: fix sparse warning for static declarations
authorJames A Shackleford <shack@linux.com>
Sun, 1 Jun 2014 23:52:49 +0000 (19:52 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 1 Jun 2014 23:58:59 +0000 (16:58 -0700)
commit0248fe44968aaef10f0ffa707c3f5d81266cf626
tree33fdc7ee45e510d6f8a885245bdc1dec9704e142
parent307ff04aed8ab625f974ad5f5f293f197d038cdd
staging: skein: fix sparse warning for static declarations

This patch fixes the following sparse warnings:

skein_block.c:43:6: warning: symbol 'skein_256_process_block' was not declared. Should it be static?
skein_block.c:252:6: warning: symbol 'skein_512_process_block' was not declared. Should it be static?
skein_block.c:483:6: warning: symbol 'skein_1024_process_block' was not declared. Should it be static?

by including the header skein_block.h, which contains the declarations in
question.

Signed-off-by: James A Shackleford <shack@linux.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/skein/skein_block.c