mirror of
https://github.com/apache/nuttx.git
synced 2026-05-14 02:58:01 +08:00
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>