On Tue, May 31, 2022 at 8:05 AM Laurent Vivier <laurent@xxxxxxxxx> wrote: > > This select VIRTIO_MMIO can cause a kconfig warning: > > > > WARNING: unmet direct dependencies detected for VIRTIO_MMIO > > Depends on [n]: VIRTIO_MENU [=n] && HAS_IOMEM [=y] && HAS_DMA [=y] > > In my repo, VIRTIO_MMIO has no dependency on VIRTIO_MENU: > > ./drivers/virtio/Kconfig > config VIRTIO_MMIO > tristate "Platform bus driver for memory mapped virtio devices" > depends on HAS_IOMEM && HAS_DMA > > > Selected by [y]: > > - VIRT [=y] && M68KCLASSIC [=y] && MMU [=y] > The dependency is expressed differently here, but this is the same as writing 'depends on VIRTIO_MENU': menuconfig VIRTIO_MENU bool "Virtio drivers" default y if VIRTIO_MENU config VIRTIO_MMIO tristate "Platform bus driver for memory mapped virtio devices" endif Arnd