summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Efremov <efremov@linux.com>2018-06-19 23:23:57 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2018-07-01 21:00:47 +0800
commit2b7153abeaa26acb70fb98c3ac23a1934e4d9ef9 (patch)
tree92e68aec72063591e9a465ba7e9a45c1916c6b3e
parentdf5f4059ced2064a468e3805d885d74332fda0da (diff)
downloadlinux-crypto-2b7153abeaa26acb70fb98c3ac23a1934e4d9ef9.tar.gz
linux-crypto-2b7153abeaa26acb70fb98c3ac23a1934e4d9ef9.zip
crypto: skcipher - remove the exporting of skcipher_walk_next
The function skcipher_walk_next declared as static and marked as EXPORT_SYMBOL_GPL. It's a bit confusing for internal function to be exported. The area of visibility for such function is its .c file and all other modules. Other *.c files of the same module can't use it, despite all other modules can. Relying on the fact that this is the internal function and it's not a crucial part of the API, the patch just removes the EXPORT_SYMBOL_GPL marking of skcipher_walk_next. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Denis Efremov <efremov@linux.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to '')
-rw-r--r--crypto/skcipher.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/crypto/skcipher.c b/crypto/skcipher.c
index 0fe2a292..7d6a49fe 100644
--- a/crypto/skcipher.c
+++ b/crypto/skcipher.c
@@ -387,7 +387,6 @@ set_phys_lowmem:
}
return err;
}
-EXPORT_SYMBOL_GPL(skcipher_walk_next);
static int skcipher_copy_iv(struct skcipher_walk *walk)
{