summaryrefslogtreecommitdiffstats
path: root/drivers/vhost/vdpa.c
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2020-04-05 10:11:29 +0200
committerMichael S. Tsirkin <mst@redhat.com>2020-04-17 00:31:01 +0200
commit355b36e6bfd35bd4f4f28f182bb2f8bc07295c88 (patch)
tree1030e6e953f7fb93503e9a8e8b85954a1f4ac81b /drivers/vhost/vdpa.c
parentLinux 5.7-rc1 (diff)
downloadlinux-355b36e6bfd35bd4f4f28f182bb2f8bc07295c88.tar.xz
linux-355b36e6bfd35bd4f4f28f182bb2f8bc07295c88.zip
vdpa-sim: depend on HAS_DMA
set_dma_ops isn't available on all architectures: make ARCH=um ... drivers/vdpa/vdpa_sim/vdpa_sim.c: In function 'vdpasim_create': >> drivers/vdpa/vdpa_sim/vdpa_sim.c:324:2: error: implicit declaration of function 'set_dma_ops'; did you mean 'set_groups'? +[-Werror=implicit-function-declaration] set_dma_ops(dev, &vdpasim_dma_ops); ^~~~~~~~~~~ set_groups Disable vdpa-sim on architectures where it isn't. Acked-by: Jason Wang <jasowang@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'drivers/vhost/vdpa.c')
0 files changed, 0 insertions, 0 deletions