linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ARM: xen: unexport HYPERVISOR_platform_op function
@ 2019-09-06 15:39 Arnd Bergmann
  2019-09-06 15:55 ` [Xen-devel] " Andrew Cooper
  2019-10-01 17:38 ` Stefano Stabellini
  0 siblings, 2 replies; 11+ messages in thread
From: Arnd Bergmann @ 2019-09-06 15:39 UTC (permalink / raw)
  To: Stefano Stabellini
  Cc: Arnd Bergmann, Emil Velikov, Denis Efremov, Masahiro Yamada,
	Russell King, xen-devel, linux-arm-kernel, linux-kernel

HYPERVISOR_platform_op() is an inline function and should not
be exported. Since commit 15bfc2348d54 ("modpost: check for
static EXPORT_SYMBOL* functions"), this causes a warning:

WARNING: "HYPERVISOR_platform_op" [vmlinux] is a static EXPORT_SYMBOL_GPL

Remove the extraneous export.

Fixes: 15bfc2348d54 ("modpost: check for static EXPORT_SYMBOL* functions")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
---
 arch/arm/xen/enlighten.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/arch/arm/xen/enlighten.c b/arch/arm/xen/enlighten.c
index 1e57692552d9..845c528acf24 100644
--- a/arch/arm/xen/enlighten.c
+++ b/arch/arm/xen/enlighten.c
@@ -437,7 +437,6 @@ EXPORT_SYMBOL_GPL(HYPERVISOR_memory_op);
 EXPORT_SYMBOL_GPL(HYPERVISOR_physdev_op);
 EXPORT_SYMBOL_GPL(HYPERVISOR_vcpu_op);
 EXPORT_SYMBOL_GPL(HYPERVISOR_tmem_op);
-EXPORT_SYMBOL_GPL(HYPERVISOR_platform_op);
 EXPORT_SYMBOL_GPL(HYPERVISOR_multicall);
 EXPORT_SYMBOL_GPL(HYPERVISOR_vm_assist);
 EXPORT_SYMBOL_GPL(HYPERVISOR_dm_op);
-- 
2.20.0


^ permalink raw reply related	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2019-10-01 18:58 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-06 15:39 [PATCH] ARM: xen: unexport HYPERVISOR_platform_op function Arnd Bergmann
2019-09-06 15:55 ` [Xen-devel] " Andrew Cooper
2019-09-06 15:59   ` Jan Beulich
2019-09-06 16:00   ` Arnd Bergmann
2019-09-06 17:20     ` Andrew Cooper
2019-09-07 10:05       ` Julien Grall
2019-10-01 14:33         ` Mark Rutland
2019-10-01 14:39           ` Julien Grall
2019-10-01 14:46             ` Mark Rutland
2019-10-01 17:38 ` Stefano Stabellini
2019-10-01 18:57   ` Arnd Bergmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).