anchao commented on code in PR #14535: URL: https://github.com/apache/nuttx/pull/14535#discussion_r1820214659
########## include/netinet/arp.h: ########## @@ -65,7 +65,7 @@ /* All ARP ioctls take a pointer to a struct arpreq as their parameter: */ -struct arpreq +struct aligned_data(sizeof(FAR void *)) arpreq Review Comment: The intention of this PR is to solve the issue of pointer misalignment. I think the performance may be better if the pointer is aligned on the 64-bit architecture. -- 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]
