Skip to content

Commit e4e4730

Browse files
evdenisherbertx
authored andcommitted
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>
1 parent d0d859b commit e4e4730

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

crypto/skcipher.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,6 @@ static int skcipher_walk_next(struct skcipher_walk *walk)
387387
}
388388
return err;
389389
}
390-
EXPORT_SYMBOL_GPL(skcipher_walk_next);
391390

392391
static int skcipher_copy_iv(struct skcipher_walk *walk)
393392
{

0 commit comments

Comments
 (0)