Re: [ethtool PATCH v3 05/12] marvell.c: fix strict alias warnings

2016-03-07 Thread Ben Hutchings
On Fri, 2016-03-04 at 16:42 -0800, David Decotigny wrote: > From: Maciej Żenczykowski > > Addresses the following warnings: >   marvell.c:426:2: error: dereferencing type-punned pointer will break > strict-aliasing rules [-Werror=strict-aliasing] >   marvell.c:427:2: error: dereferencing type-pu

[ethtool PATCH v3 05/12] marvell.c: fix strict alias warnings

2016-03-04 Thread David Decotigny
From: Maciej Żenczykowski Addresses the following warnings: marvell.c:426:2: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing] marvell.c:427:2: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasin