From: Jason Yan Date: Wed, 15 Apr 2020 08:48:53 +0000 (+0800) Subject: arm/xen: make _xen_start_info static X-Git-Tag: v5.15~4035^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=74f4c438f22ca3fff157fb45e694805931487c55;p=platform%2Fkernel%2Flinux-starfive.git arm/xen: make _xen_start_info static Fix the following sparse warning: arch/arm64/xen/../../arm/xen/enlighten.c:39:19: warning: symbol '_xen_start_info' was not declared. Should it be static? Reported-by: Hulk Robot Signed-off-by: Jason Yan Reviewed-by: Stefano Stabellini Link: https://lore.kernel.org/r/20200415084853.5808-1-yanaijie@huawei.com Signed-off-by: Juergen Gross --- diff --git a/arch/arm/xen/enlighten.c b/arch/arm/xen/enlighten.c index dd6804a64f1a..fd4e1ce1daf9 100644 --- a/arch/arm/xen/enlighten.c +++ b/arch/arm/xen/enlighten.c @@ -36,7 +36,7 @@ #include -struct start_info _xen_start_info; +static struct start_info _xen_start_info; struct start_info *xen_start_info = &_xen_start_info; EXPORT_SYMBOL(xen_start_info);