pkarashchenko commented on code in PR #7616:
URL: https://github.com/apache/incubator-nuttx/pull/7616#discussion_r1027234848


##########
arch/sim/src/sim/up_netdriver.c:
##########
@@ -107,6 +120,10 @@ static void netdriver_reply(struct net_driver_s *dev)
 
   if (dev->d_len > 0)
     {
+#ifdef SIM_NETDEV_IOB_OFFLOAD
+      dev->d_buf = (void *)ETHBUF;

Review Comment:
   Let's cast to `FAR uint8_t *` than?



-- 
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: commits-unsubscr...@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to