All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] x86/xen: make xen_pvmmu_arch_setup() static
@ 2020-04-08  2:46 Jason Yan
  2020-04-08  8:44 ` Jürgen Groß
  0 siblings, 1 reply; 2+ messages in thread
From: Jason Yan @ 2020-04-08  2:46 UTC (permalink / raw)
  To: boris.ostrovsky, jgross, sstabellini, tglx, mingo, bp, hpa, x86,
	xen-devel
  Cc: Jason Yan

Fix the following sparse warning:

arch/x86/xen/setup.c:998:12: warning: symbol 'xen_pvmmu_arch_setup' was not
declared. Should it be static?

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Jason Yan <yanaijie@huawei.com>
---
 arch/x86/xen/setup.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/x86/xen/setup.c b/arch/x86/xen/setup.c
index 33b0e20df7fc..1a2d8a50dac4 100644
--- a/arch/x86/xen/setup.c
+++ b/arch/x86/xen/setup.c
@@ -985,7 +985,7 @@ void xen_enable_syscall(void)
 #endif /* CONFIG_X86_64 */
 }
 
-void __init xen_pvmmu_arch_setup(void)
+static void __init xen_pvmmu_arch_setup(void)
 {
 	HYPERVISOR_vm_assist(VMASST_CMD_enable, VMASST_TYPE_4gb_segments);
 	HYPERVISOR_vm_assist(VMASST_CMD_enable, VMASST_TYPE_writable_pagetables);
-- 
2.17.2



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

* Re: [PATCH] x86/xen: make xen_pvmmu_arch_setup() static
  2020-04-08  2:46 [PATCH] x86/xen: make xen_pvmmu_arch_setup() static Jason Yan
@ 2020-04-08  8:44 ` Jürgen Groß
  0 siblings, 0 replies; 2+ messages in thread
From: Jürgen Groß @ 2020-04-08  8:44 UTC (permalink / raw)
  To: Jason Yan, boris.ostrovsky, sstabellini, tglx, mingo, bp, hpa,
	x86, xen-devel

On 08.04.20 04:46, Jason Yan wrote:
> Fix the following sparse warning:
> 
> arch/x86/xen/setup.c:998:12: warning: symbol 'xen_pvmmu_arch_setup' was not
> declared. Should it be static?
> 
> Reported-by: Hulk Robot <hulkci@huawei.com>
> Signed-off-by: Jason Yan <yanaijie@huawei.com>

Reviewed-by: Juergen Gross <jgross@suse.com>


Juergen


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

end of thread, other threads:[~2020-04-08  8:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-08  2:46 [PATCH] x86/xen: make xen_pvmmu_arch_setup() static Jason Yan
2020-04-08  8:44 ` Jürgen Groß

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.