Re: [PATCH v3 2/2] r8169: Avoid pointer aliasing

From: David Miller
Date: Wed Feb 06 2019 - 16:40:57 EST


From: Thierry Reding <thierry.reding@xxxxxxxxx>
Date: Wed, 6 Feb 2019 13:30:18 +0100

> From: Thierry Reding <treding@xxxxxxxxxx>
>
> 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@xxxxxxx>
> Signed-off-by: Thierry Reding <treding@xxxxxxxxxx>

Applied.