lupyuen commented on PR #15045:
URL: https://github.com/apache/nuttx/pull/15045#issuecomment-2522074448

   Sorry @W-M-R `rv-virt/virt_nsh` fails to build due to a pointer cast error 
(from nuttx-dashboard.org)
   
https://github.com/NuttX/nuttx/actions/runs/12188258880/job/34000958824#step:7:485
   ```text
   Configuration/Tool: rv-virt/virt_nsh
   virtio/virtio-mmio.c: In function 'virtio_mmio_config_virtqueue':
   Error: virtio/virtio-mmio.c:346:14: error: cast from pointer to integer of 
different size [-Werror=pointer-to-int-cast]
     346 |       addr = (uint64_t)kasan_reset_tag((FAR void *)vq->vq_ring.desc);
         |              ^
   Error: virtio/virtio-mmio.c:350:14: error: cast from pointer to integer of 
different size [-Werror=pointer-to-int-cast]
     350 |       addr = (uint64_t)kasan_reset_tag((FAR void 
*)vq->vq_ring.avail);
         |              ^
   Error: virtio/virtio-mmio.c:354:14: error: cast from pointer to integer of 
different size [-Werror=pointer-to-int-cast]
     354 |       addr = (uint64_t)kasan_reset_tag((FAR void *)vq->vq_ring.used);
         |              ^
   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.
   make: *** [tools/LibTargets.mk:107: drivers/libdrivers.a] Error 2
   ```


-- 
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