netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/2] net: ethernet: i40e/i40evf fix build error
@ 2018-09-07 11:19 Wang Dongsheng
  2018-09-07 11:19 ` [PATCH v3 1/2] net: ethernet: i40e: " Wang Dongsheng
  2018-09-07 11:19 ` [PATCH v3 2/2] net: ethernet: i40evf: fix underlying " Wang Dongsheng
  0 siblings, 2 replies; 11+ messages in thread
From: Wang Dongsheng @ 2018-09-07 11:19 UTC (permalink / raw)
  To: jeffrey.t.kirsher, sergei.shtylyov
  Cc: jacob.e.keller, davem, intel-wired-lan, netdev, linux-kernel,
	Wang Dongsheng

i40e: function __i40e_add_stat_strings can never be inlined because it uses
variable argument lists.

i40evf: A risk of "Multiple definition" from cross-including.

I am working on aarch64 platform and unfortunately the config file is MODULE.
So I missed the buildin test... Sorry for pushing this patch to v3 version...

Now I tested this patch with buildin and modules.

Tested on: x86_64, make ARCH=i386

Modules section .text:
i40e: 00019380 <__i40e_add_stat_strings>:
i40evf: 00006b00 <__i40e_add_stat_strings>:

Buildin:
i40e: c351ca60 <__i40e_add_stat_strings>:
i40evf: c354f2c0 <__i40e_add_stat_strings>:


Wang Dongsheng (2):
  net: ethernet: i40e: fix build error
  net: ethernet: i40evf: fix underlying build error

 .../net/ethernet/intel/i40e/i40e_ethtool.c    | 24 ++++++++++++++++++
 .../ethernet/intel/i40e/i40e_ethtool_stats.h  | 25 ++-----------------
 .../intel/i40evf/i40e_ethtool_stats.h         | 23 +----------------
 .../ethernet/intel/i40evf/i40evf_ethtool.c    | 24 ++++++++++++++++++
 4 files changed, 51 insertions(+), 45 deletions(-)

-- 
2.18.0

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2018-09-07 22:11 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-09-07 11:19 [PATCH v3 0/2] net: ethernet: i40e/i40evf fix build error Wang Dongsheng
2018-09-07 11:19 ` [PATCH v3 1/2] net: ethernet: i40e: " Wang Dongsheng
2018-09-07 12:40   ` Wang, Dongsheng
2018-09-07 21:42     ` Keller, Jacob E
2018-09-07 15:27   ` Keller, Jacob E
2018-09-07 11:19 ` [PATCH v3 2/2] net: ethernet: i40evf: fix underlying " Wang Dongsheng
2018-09-07 12:34   ` Wang, Dongsheng
2018-09-07 15:26     ` Wyborny, Carolyn
2018-09-07 17:29       ` Wang, Dongsheng
2018-09-07 15:33   ` Sergei Shtylyov
2018-09-07 17:14     ` Wang, Dongsheng

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).