crypto: skcipher - remove the exporting of skcipher_walk_next
authorDenis Efremov <efremov@linux.com>
Tue, 19 Jun 2018 20:23:57 +0000 (23:23 +0300)
committerHerbert Xu <herbert@gondor.apana.org.au>
Sun, 1 Jul 2018 13:00:47 +0000 (21:00 +0800)
commite4e4730698c9138f09ed73dadd1f35d4bb95ada5
tree0943e2e4c1e8401356c03be76e3ae47b0c9e7e7a
parentd0d859bb87ac3b4df1cb6692531fc95d093357c5
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>
crypto/skcipher.c