git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
016f8cf
)
powerpc: don't export static symbol
author
Julia Lawall
<Julia.Lawall@lip6.fr>
Wed, 11 Mar 2015 16:56:24 +0000
(17:56 +0100)
committer
Scott Wood
<scottwood@freescale.com>
Wed, 1 Apr 2015 03:23:18 +0000
(22:23 -0500)
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;
@@
-EXPORT_SYMBOL(f);
// </smpl>
Furthermore, the function is never used, so its definition is dropped as
well.
Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: Scott Wood <scottwood@freescale.com>
arch/powerpc/sysdev/qe_lib/qe_io.c
patch
|
blob
|
history
diff --cc
arch/powerpc/sysdev/qe_lib/qe_io.c
Simple merge