Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
virtio: Fix the problem of incorrect setting of virtio queue address …
…under tags kasan There is also a printing error due to #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 <[email protected]>
- Loading branch information