Skip to content

Commit 05713ba

Browse files
JuliaLawallherbertx
authored andcommitted
crypto: don't export static symbol
The semantic patch that fixes this problem is as follows: (http://coccinelle.lip6.fr/) // <smpl> @r@ type T; identifier f; @@ static T f (...) { ... } @@ identifier r.f; declarer name EXPORT_SYMBOL_GPL; @@ -EXPORT_SYMBOL_GPL(f); // </smpl> Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
1 parent 19e60e1 commit 05713ba

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

arch/x86/crypto/glue_helper.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,6 @@ static void glue_ctr_crypt_final_128bit(const common_glue_ctr_func_t fn_ctr,
232232

233233
le128_to_be128((be128 *)walk->iv, &ctrblk);
234234
}
235-
EXPORT_SYMBOL_GPL(glue_ctr_crypt_final_128bit);
236235

237236
static unsigned int __glue_ctr_crypt_128bit(const struct common_glue_ctx *gctx,
238237
struct blkcipher_desc *desc,

0 commit comments

Comments
 (0)