Messages in this thread | | | Date | Mon, 4 Feb 2019 17:59:02 +0100 | From | Andrew Lunn <> | Subject | Re: [PATCH v2 2/2] r8169: Avoid pointer aliasing |
| |
On Mon, Feb 04, 2019 at 05:42:13PM +0100, Thierry Reding wrote: > From: Thierry Reding <treding@nvidia.com> > > Read MAC address 32-bit at a time and manually extract the individual > bytes. This avoids pointer aliasing and gives the compiler a better > chance of optimizing the operation. > > Suggested-by: Andrew Lunn <andrew@lunn.ch> > Signed-off-by: Thierry Reding <treding@nvidia.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Andrew
| |