Skip to content

Commit c461e8d

Browse files
committed
tools/virtio: more stubs
fix test module build. Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
1 parent da0c9ea commit c461e8d

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

‎tools/virtio/crypto/hash.h‎

Whitespace-only changes.

‎tools/virtio/linux/dma-mapping.h‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,6 @@ enum dma_data_direction {
2929
#define dma_unmap_single(...) do { } while (0)
3030
#define dma_unmap_page(...) do { } while (0)
3131

32+
#define dma_max_mapping_size(...) SIZE_MAX
33+
3234
#endif

0 commit comments

Comments
 (0)