liqinhuixm opened a new pull request, #11430:
URL: https://github.com/apache/nuttx/pull/11430

   
   ## Summary
   Fix the compile error, log as follows:
   
   CC:  virtio/virtio-net.c virtio/virtio-net.c: In function 
'virtio_net_set_macaddr': virtio/virtio-net.c:595:17: error: invalid operands 
to binary % (have 'struct net_driver_s *' and 'int')
     595 |             dev % 256
         |                 ^
   make[1]: *** [Makefile:107: virtio-net.o] Error 1
   make: *** [tools/LibTargets.mk:101: drivers/libdrivers.a] Error 2
   make: *** Waiting for unfinished jobs....
   
   ## Impact
   NA
   ## Testing
   No longer appears when recompiling.
   


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