Skip to content

Commit 74f4c43

Browse files
JasonYanHwjgross1
authored andcommitted
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 <[email protected]> Signed-off-by: Jason Yan <[email protected]> Reviewed-by: Stefano Stabellini <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Juergen Gross <[email protected]>
1 parent 6b51fd3 commit 74f4c43

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/arm/xen/enlighten.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636

3737
#include <linux/mm.h>
3838

39-
struct start_info _xen_start_info;
39+
static struct start_info _xen_start_info;
4040
struct start_info *xen_start_info = &_xen_start_info;
4141
EXPORT_SYMBOL(xen_start_info);
4242

0 commit comments

Comments
 (0)