]> git.proxmox.com Git - mirror_ubuntu-jammy-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)
commite17568e15830c6d158f6492b5b60ccdeb0b7b20b
tree4e7746c6f15a50381c0f2e6157cf1a3b86f3d105
parentcb9dde8801292e31e3964236a72f04926cf500b7
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