W-M-R commented on PR #15043:
URL: https://github.com/apache/nuttx/pull/15043#issuecomment-2519251190

   > Sorry @W-M-R we might have a problem with the version type? 
https://github.com/NuttX/nuttx/actions/runs/12165107942/job/33928407799#step:7:490
   > 
   > ```
   > 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.
   > ```
   Yes, there is a problem, I will fix it
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to