Re: [PATCH 25/40] net/eth: Use void pointers

2023-04-14 Thread Philippe Mathieu-Daudé
On 14/4/23 13:37, Akihiko Odaki wrote: The uses of uint8_t pointers were misleading as they are never accessed as an array of octets and it even require more strict alignment to access as struct eth_header. Signed-off-by: Akihiko Odaki --- include/net/eth.h | 4 ++-- net/eth.c | 6 ++

[PATCH 25/40] net/eth: Use void pointers

2023-04-14 Thread Akihiko Odaki
The uses of uint8_t pointers were misleading as they are never accessed as an array of octets and it even require more strict alignment to access as struct eth_header. Signed-off-by: Akihiko Odaki --- include/net/eth.h | 4 ++-- net/eth.c | 6 +++--- 2 files changed, 5 insertions(+), 5 d