Re: [PATCH ethtool 0/7] compiler warnings cleanup, part 1

2020-08-03 Thread Michal Kubecek
On Mon, Aug 03, 2020 at 03:31:25PM +0200, Andrew Lunn wrote: > On Mon, Aug 03, 2020 at 01:57:03PM +0200, Michal Kubecek wrote: > > Maciej Żenczykowski recently cleaned up many "unused parameter" compiler > > warnings but some new occurences appeared since (mostly in netlink code). > > Hi Michal >

Re: [PATCH ethtool 0/7] compiler warnings cleanup, part 1

2020-08-03 Thread Andrew Lunn
On Mon, Aug 03, 2020 at 01:57:03PM +0200, Michal Kubecek wrote: > Maciej Żenczykowski recently cleaned up many "unused parameter" compiler > warnings but some new occurences appeared since (mostly in netlink code). Hi Michal Could you modify the compiler flags to get gcc to warn about these? Othe

[PATCH ethtool 0/7] compiler warnings cleanup, part 1

2020-08-03 Thread Michal Kubecek
Maciej Żenczykowski recently cleaned up many "unused parameter" compiler warnings but some new occurences appeared since (mostly in netlink code). This series gets rid of all currently found "unused parameter" warnings and also one zero length array access warning (gcc10). There are still some co