We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 920379a commit 06f05bcCopy full SHA for 06f05bc
1 file changed
tools/virtio/linux/dma-mapping.h
@@ -26,8 +26,8 @@ enum dma_data_direction {
26
#define dma_map_single(d, p, s, dir) (virt_to_phys(p))
27
#define dma_mapping_error(...) (0)
28
29
-#define dma_unmap_single(...) do { } while (0)
30
-#define dma_unmap_page(...) do { } while (0)
+#define dma_unmap_single(d, a, s, r) do { (void)(d); (void)(a); (void)(s); (void)(r); } while (0)
+#define dma_unmap_page(d, a, s, r) do { (void)(d); (void)(a); (void)(s); (void)(r); } while (0)
31
32
#define dma_max_mapping_size(...) SIZE_MAX
33
0 commit comments