Commit 42d12097 authored by Committed by Greg Kroah-Hartman
vbox: fix link error with 'gcc -Og'
[ Upstream commit b8ae30a7 ] With the new CONFIG_CC_OPTIMIZE_FOR_DEBUGGING option, we get a link error in the vboxguest driver, when that fails to optimize out the call to the compat handler: drivers/virt/vboxguest/vboxguest_core.o: In function `vbg_ioctl_hgcm_call': vboxguest_core.c:(.text+0x1f6e): undefined reference to `vbg_hgcm_call32' Another compile-time check documents better what we want and avoids the error. Acked-by: Randy Dunlap <firstname.lastname@example.org> Tested-by: Randy Dunlap <email@example.com> Signed-off-by: Arnd Bergmann <firstname.lastname@example.org> Reviewed-by: Hans de Goede <email@example.com> Signed-off-by: Greg Kroah-Hartman <firstname.lastname@example.org> Signed-off-by: Sasha Levin <email@example.com>
Showing with 1 addition and 1 deletion