Re: [PATCH net-next 3/3] mlx5: fix space waste from ethtool descriptions

2017-04-21 Thread Saeed Mahameed
On Fri, Apr 21, 2017 at 9:15 PM, Stephen Hemminger wrote: > The ethtool statistics descriptions were declared as static in > en_stats.h but that file is included indirectly in multiple places > causing multiple unused redundant copies. This is reported by building > with W=1. > > The solution is t

[PATCH net-next 3/3] mlx5: fix space waste from ethtool descriptions

2017-04-21 Thread Stephen Hemminger
The ethtool statistics descriptions were declared as static in en_stats.h but that file is included indirectly in multiple places causing multiple unused redundant copies. This is reported by building with W=1. The solution is to move the description out of en_stats.h into the one file that uses t