2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-25 05:34:00 +08:00
linux-next/arch/powerpc
Julia Lawall bb65f5048e powerpc: 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;
@@

-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>
2015-03-31 22:23:18 -05:00
..
boot powerpc/mpc85xx: Add FSL QorIQ DPAA BMan support to device tree(s) 2015-03-23 19:51:19 -05:00
configs powerpc: Enable power monitor feature in defconfig for supported platforms 2015-03-23 19:51:22 -05:00
crypto crypto: add missing crypto module aliases 2015-01-13 22:29:11 +11:00
include powerpc: book3e_64: fix the align size for paca_struct 2015-03-31 22:23:17 -05:00
kernel powerpc/kernel: Rename copy_thread() 'arg' argument to 'kthread_arg' 2015-03-20 12:41:15 +11:00
kvm powerpc/book3s: Fix flush_tlb cpu_spec hook to take a generic argument. 2015-03-17 07:52:48 +11:00
lib powerpc: Delete unnecessary checks before kfree() 2015-03-16 18:50:14 +11:00
math-emu powerpc: Correct emulated mtfsf instruction 2014-04-07 10:33:11 +10:00
mm powerpc/vphn: parsing code rewrite 2015-03-18 10:48:59 +11:00
net module: remove mod arg from module_free, rename module_memfree(). 2015-01-20 11:38:33 +10:30
oprofile powerpc updates for 3.19 2014-12-11 17:48:14 -08:00
perf Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/scottwood/linux into next 2015-02-04 12:03:21 +11:00
platforms powerpc/corenet: Enable muxing MDIO buses via FPGA 2015-03-23 19:51:20 -05:00
sysdev powerpc: don't export static symbol 2015-03-31 22:23:18 -05:00
xmon powerpc updates for 3.20 2015-02-11 18:15:38 -08:00
Kconfig powerpc: kill PPC_OF 2015-03-17 20:04:32 +11:00
Kconfig.debug powerpc: kill PPC_OF 2015-03-17 20:04:32 +11:00
Makefile kbuild: do not add $(call ...) to invoke cc-version or cc-fullversion 2015-01-09 17:25:44 +01:00
relocs_check.pl Fix warning typo "CONFIG_RELCOATABLE" 2013-05-29 15:11:30 +02:00