From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kalle Valo Date: Fri, 13 Mar 2015 14:18:38 +0000 Subject: Re: [8/15] libertas_tf: if_usb.c: don't export static symbol Message-Id: <20150313141838.B883D1416F4@smtp.codeaurora.org> List-Id: In-Reply-To: <1426092997-30605-9-git-send-email-Julia.Lawall@lip6.fr> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Julia Lawall Cc: kernel-janitors@vger.kernel.org, linux-wireless@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, daniel@iogearbox.net > 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 Thanks, applied to wireless-drivers-next.git. Kalle Valo