1
0
Fork 0
alistair23-linux/drivers/staging/skein
James A Shackleford df37d1ac58 staging: skein: fix sparse warning for static arrays
This patch fixes the following sparse warnings:

skein_iv.h:23:11: warning: symbol 'SKEIN_256_IV_128' was not declared. Should it be static?
skein_iv.h:31:11: warning: symbol 'SKEIN_256_IV_160' was not declared. Should it be static?
skein_iv.h:39:11: warning: symbol 'SKEIN_256_IV_224' was not declared. Should it be static?
skein_iv.h:47:11: warning: symbol 'SKEIN_256_IV_256' was not declared. Should it be static?
skein_iv.h:55:11: warning: symbol 'SKEIN_512_IV_128' was not declared. Should it be static?
skein_iv.h:67:11: warning: symbol 'SKEIN_512_IV_160' was not declared. Should it be static?
skein_iv.h:79:11: warning: symbol 'SKEIN_512_IV_224' was not declared. Should it be static?
skein_iv.h:91:11: warning: symbol 'SKEIN_512_IV_256' was not declared. Should it be static?
skein_iv.h:103:11: warning: symbol 'SKEIN_512_IV_384' was not declared. Should it be static?
skein_iv.h:115:11: warning: symbol 'SKEIN_512_IV_512' was not declared. Should it be static?
skein_iv.h:127:11: warning: symbol 'SKEIN_1024_IV_384' was not declared. Should it be static?
skein_iv.h:147:11: warning: symbol 'SKEIN_1024_IV_512' was not declared. Should it be static?
skein_iv.h:167:11: warning: symbol 'SKEIN_1024_IV_1024' was not declared. Should it be static?

by declaring the initialization vectors in question as static.  The header
skein_iv.h is only included by skein.c

Signed-off-by: James A Shackleford <shack@linux.com>
Acked-by: Jason Cooper <jason@lakedaemon.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-06-19 16:56:43 -07:00
..
Kconfig staging: crypto: skein: depend upon CRYPTO 2014-05-19 12:56:58 -07:00
Makefile staging/skein: move all threefish block functions to one file 2014-05-21 11:17:42 +09:00
TODO staging/skein: rename files and clean up directory structure 2014-05-19 17:32:27 -07:00
skein.c staging/skein: variable/member name cleanup 2014-05-21 11:17:42 +09:00
skein.h staging/skein: variable/member name cleanup 2014-05-21 11:17:42 +09:00
skein_api.c staging/skein: variable/member name cleanup 2014-05-21 11:17:42 +09:00
skein_api.h staging/skein: variable/member name cleanup 2014-05-21 11:17:42 +09:00
skein_block.c staging: skein: fix sparse warning for static declarations 2014-06-01 16:58:59 -07:00
skein_block.h staging/skein: rename files and clean up directory structure 2014-05-19 17:32:27 -07:00
skein_iv.h staging: skein: fix sparse warning for static arrays 2014-06-19 16:56:43 -07:00
threefish_api.c staging/skein: rename files and clean up directory structure 2014-05-19 17:32:27 -07:00
threefish_api.h staging/skein: comment typos 2014-05-21 11:17:42 +09:00
threefish_block.c staging/skein: move all threefish block functions to one file 2014-05-21 11:17:42 +09:00