Skip to contentSkip to conversation

staging: skein: fix sparse warning for static declarations

PATCH New James A Shackleford 1 participant 1 message Jun 1, 2014 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 drivers/staging/skein/skein_block.c |    1 +
 1 file changed, 1 insertion(+)
drivers/staging/skein/skein_block.c +1 -0
index f49eb2e..04ce1d0 100644
@@ -16,6 +16,7 @@
 
 #include <linux/string.h>
 #include "skein.h"
+#include "skein_block.h"
 
 #ifndef SKEIN_USE_ASM
 #define SKEIN_USE_ASM   (0) /* default is all C code (no ASM) */
Signature · 1 line
1.7.9.5