From: Rusty Russell 1) Sam Ravnborg says lg-objs is deprecated, use lg-y. 2) Sparse: page_tables.c unnecessary initialization 3) Lots of __force to shut sparse up: guest "physical" addresses are userspace virtual. 4) Change prototype of run_lguest and do cast in caller instead (when we add __iomem to cast, it runs over another line). Signed-off-by: Rusty Russell Signed-off-by: Andrew Morton --- drivers/lguest/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN drivers/lguest/Makefile~lguest-the-makefile-and-kconfig-tidyups drivers/lguest/Makefile --- a/drivers/lguest/Makefile~lguest-the-makefile-and-kconfig-tidyups +++ a/drivers/lguest/Makefile @@ -3,5 +3,5 @@ obj-$(CONFIG_LGUEST_GUEST) += lguest.o l # Host requires the other files, which can be a module. obj-$(CONFIG_LGUEST) += lg.o -lg-objs := core.o hypercalls.o page_tables.o interrupts_and_traps.o \ +lg-y := core.o hypercalls.o page_tables.o interrupts_and_traps.o \ segments.o io.o lguest_user.o switcher.o _