Re: [PATCH 4/15] crypto: don't export static symbol

2015-03-13 Thread Herbert Xu
On Wed, Mar 11, 2015 at 05:56:26PM +0100, Julia Lawall wrote: > From: Julia Lawall > > The semantic patch that fixes this problem is as follows: > (http://coccinelle.lip6.fr/) > > // > @r@ > type T; > identifier f; > @@ > > static T f (...) { ... } > > @@ > identifier r.f; > declarer name EXP

[PATCH 4/15] crypto: don't export static symbol

2015-03-11 Thread Julia Lawall
From: Julia Lawall The semantic patch that fixes this problem is as follows: (http://coccinelle.lip6.fr/) // @r@ type T; identifier f; @@ static T f (...) { ... } @@ identifier r.f; declarer name EXPORT_SYMBOL_GPL; @@ -EXPORT_SYMBOL_GPL(f); // Signed-off-by: Julia Lawall --- arch/x86/cr