[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20190206.134049.2075883825221593917.davem@davemloft.net>
Date: Wed, 06 Feb 2019 13:40:49 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: thierry.reding@...il.com
Cc: hkallweit1@...il.com, andrew@...n.ch, joe@...ches.com,
eric.dumazet@...il.com, pauldzim@...il.com, mkubecek@...e.cz,
nic_swsd@...ltek.com, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v3 2/2] r8169: Avoid pointer aliasing
From: Thierry Reding <thierry.reding@...il.com>
Date: Wed, 6 Feb 2019 13:30:18 +0100
> From: Thierry Reding <treding@...dia.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@...n.ch>
> Signed-off-by: Thierry Reding <treding@...dia.com>
Applied.
Powered by blists - more mailing lists