aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorArnd Bergmann <[email protected]>2025-01-22 06:54:33 +0000
committerGreg Kroah-Hartman <[email protected]>2025-02-20 14:19:27 +0000
commitc99e1e1d0850ff157f1bc16871acd2dff5a9bcc3 (patch)
treef39526d989840bd9287ff4d5d64f70008e57d07f /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parentcdx: Fix possible UAF error in driver_override_show() (diff)
downloadkernel-c99e1e1d0850ff157f1bc16871acd2dff5a9bcc3.tar.gz
kernel-c99e1e1d0850ff157f1bc16871acd2dff5a9bcc3.zip
vbox: add HAS_IOPORT dependency
The vboxguest driver depends on port I/O for debug output: include/asm-generic/io.h:626:15: error: call to '_outl' declared with attribute error: outl() requires CONFIG_HAS_IOPORT 626 | #define _outl _outl include/asm-generic/io.h:663:14: note: in expansion of macro '_outl' 663 | #define outl _outl | ^~~~~ drivers/virt/vboxguest/vboxguest_utils.c:102:9: note: in expansion of macro 'outl' 102 | outl(phys_req, gdev->io_port + VMMDEV_PORT_OFF_REQUEST); | ^~~~ Most arm64 platforms don't actually support port I/O, though it is currently enabled unconditionally. Refine the vbox dependency to allow turning HAS_IOPORT off in the future when building for platforms without port I/O and allow compile-testing on all architectures. Fixes: 5cf8f938bf5c ("vbox: Enable VBOXGUEST and VBOXSF_FS on ARM64") Signed-off-by: Arnd Bergmann <[email protected]> Reviewed-by: Hans de Goede <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions