Messages in this thread | | | Date | Wed, 06 Feb 2019 13:40:49 -0800 (PST) | Subject | Re: [PATCH v3 2/2] r8169: Avoid pointer aliasing | From | David Miller <> |
| |
From: Thierry Reding <thierry.reding@gmail.com> Date: Wed, 6 Feb 2019 13:30:18 +0100
> 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>
Applied.
| |