Thread (3 messages) flat view 3 messages, 3 authors, 2021-06-04

RE: [PATCH net-next v2] net: enetc: use get/put_unaligned helpers for MAC address handling

From: Claudiu Manoil <claudiu.manoil@nxp.com>
Date: 2021-06-04 13:48:04
Also in: lkml

-----Original Message-----
From: Michael Walle <redacted>
Sent: Friday, June 4, 2021 4:42 PM
[...]
Subject: [PATCH net-next v2] net: enetc: use get/put_unaligned helpers for
MAC address handling

The supplied buffer for the MAC address might not be aligned. Thus
doing a 32bit (or 16bit) access could be on an unaligned address. For
now, enetc is only used on aarch64 which can do unaligned accesses, thus
there is no error. In any case, be correct and use the get/put_unaligned
helpers.

Signed-off-by: Michael Walle <redacted>
Reviewed-by: Claudiu Manoil <claudiu.manoil@nxp.com>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help