]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: user - forward declare crypto_nlsk
authorEric Biggers <ebiggers@google.com>
Thu, 10 Jan 2019 20:17:56 +0000 (12:17 -0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 18 Jan 2019 10:43:43 +0000 (18:43 +0800)
commit34e0bfba1afc8d3d142db32d403dec9cf7fcaa5e
tree4e7746c6f15a50381c0f2e6157cf1a3b86f3d105
parentcb1b2af90af67df606c51bf4e01c5ad0c35c4274
crypto: user - forward declare crypto_nlsk

Move the declaration of crypto_nlsk into internal/cryptouser.h.  This
fixes the following sparse warning:

    crypto/crypto_user_base.c:41:13: warning: symbol 'crypto_nlsk' was not declared. Should it be static?

Cc: Corentin Labbe <clabbe@baylibre.com>
Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/crypto_user_stat.c
include/crypto/internal/cryptouser.h