75fc19d729
There is also a printing error due to https://github.com/apache/nuttx/pull/15043: Configuration/Tool: rv-virt/virt_nsh In file included from virtio/virtio-mmio.c:29: virtio/virtio-mmio.c: In function 'virtio_mmio_init_device': Error: virtio/virtio-mmio.c:826:14: error: format '%d' expects argument of type 'int', but argument 3 has type 'uint32_t' {aka 'long unsigned int'} [-Werror=format=] 826 | vrterr("Version %d not supported!\n", vdev->id.version); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ | | | uint32_t {aka long unsigned int} virtio/virtio-mmio.c:826:24: note: format string is defined here 826 | vrterr("Version %d not supported!\n", vdev->id.version); | ~^ | | | int | %ld cc1: all warnings being treated as errors make[1]: *** [Makefile:109: virtio-mmio.o] Error 1 make[1]: Target 'libdrivers.a' not remade because of errors. Signed-off-by: wangmingrong1 <wangmingrong1@xiaomi.com> |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
Kconfig | ||
Make.defs | ||
virtio-blk.c | ||
virtio-blk.h | ||
virtio-gpu.c | ||
virtio-gpu.h | ||
virtio-input.c | ||
virtio-input.h | ||
virtio-mmio.c | ||
virtio-net.c | ||
virtio-net.h | ||
virtio-pci-legacy.c | ||
virtio-pci-modern.c | ||
virtio-pci.c | ||
virtio-pci.h | ||
virtio-rng.c | ||
virtio-rng.h | ||
virtio-rpmb.c | ||
virtio-rpmb.h | ||
virtio-serial.c | ||
virtio-serial.h | ||
virtio-snd.c | ||
virtio-snd.h | ||
virtio.c |