]> git.baikalelectronics.ru Git - kernel.git/commit
sparc64: fix sparse warnings in aes_glue.c
authorSam Ravnborg <sam@ravnborg.org>
Fri, 16 May 2014 21:26:06 +0000 (23:26 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 19 May 2014 02:01:33 +0000 (19:01 -0700)
commitc86f5633ca75c3b4a6ab88d82240b4e3508c6fe7
tree5dfe9ff8440562e9460ef4f69403a2b2053c8a5e
parent9f6ea601c0c4fb96164236df0ae9b986e5050b21
sparc64: fix sparse warnings in aes_glue.c

Fix following warnings:
aes_glue.c:127:16: warning: symbol 'aes128_ops' was not declared. Should it be static?
aes_glue.c:139:16: warning: symbol 'aes192_ops' was not declared. Should it be static?
aes_glue.c:151:16: warning: symbol 'aes256_ops' was not declared. Should it be static?

Fix by defining the variables static as they are not used outside this file

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/crypto/aes_glue.c