Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp1892763imm; Fri, 7 Sep 2018 07:44:18 -0700 (PDT) X-Google-Smtp-Source: ANB0VdaDL+IqY1/te1xBH7TuuH5Mb8VsGsQAOKKTEWhTfxv7AyQsaxC5EzhtxDSU4ecbzzh5v/Xg X-Received: by 2002:a65:450a:: with SMTP id n10-v6mr8644264pgq.392.1536331458924; Fri, 07 Sep 2018 07:44:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536331458; cv=none; d=google.com; s=arc-20160816; b=cIJ5OyHpDC8ED8rIs3LIHkRskJi+QsNoCUwsstLFQt/5jz5Xw17BBE62FcP+dBl14V gLNdQ/rshxmV2spKgK0KOk7tcVihnTYv66LQN9pKYJfI9VdchkVJ71uv1Ln9TiENdjZk M4RtXyqxw5Oyfm6zo2oc9nFtrl3hjkAq1PkVXSSDU4nYKxRnJcSfKPBRuip8XMKGyA5E Xn4QCKDAu2B5EqRcxmyAYmHR4wwwuOjzk8NPLYJUlQPQR8ePWb/uCtW/mbfD5L3vmEmT YOzL+c/s/6xCLLlSvI69EBGCzRsJH5aGfQ/6fkJRPvLZie0IKoycudHI9Z1xsc2x/s6j P9dA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from; bh=fcfaRdGjPhF0azPCJkg3arRK+XreU4uWhB6y1nq3yj8=; b=OEvu6R//ACLyS47b/L1xoLuUjcJu0QGAc6tv6bfYk0mDqC7f3XDZ0v3gVJz+satRSY D6AHiw53zoFgupKi42RsdqI9BvU5pBYerJLrFLiIaHoC4MH6sqlAdNUfb0AG/jc/RUaC uxt8+jf1n24p2wzXgRf/8rBczv+YqlulP8QQIGgM3FFOdrICwYgdKHn7UKAwjC64e3zJ K1Dfnjk2zwyANdoQgexia769GQckNGpGmQdZ0a0nar0qivTGMe2/7H78RNRQr2atrh2l B0ZJ6rZ4DJHOrQPqRZQOq2jebeLnd9uB7O+qMkReuOTKReTRjk5Sh5ah6fBrmwGyC96p BOBw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v190-v6si8384068pgd.128.2018.09.07.07.44.03; Fri, 07 Sep 2018 07:44:18 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728858AbeIGQAO (ORCPT + 99 others); Fri, 7 Sep 2018 12:00:14 -0400 Received: from mx01.hxt-semitech.com ([223.203.96.7]:46769 "EHLO barracuda.hxt-semitech.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728407AbeIGQAO (ORCPT ); Fri, 7 Sep 2018 12:00:14 -0400 X-ASG-Debug-ID: 1536319181-093b7e54e60b370001-xx1T2L Received: from HXTBJIDCEMVIW02.hxtcorp.net ([10.128.0.15]) by barracuda.hxt-semitech.com with ESMTP id SyYyS7FJ72Mkz07p (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NO); Fri, 07 Sep 2018 19:19:41 +0800 (CST) X-Barracuda-Envelope-From: dongsheng.wang@hxt-semitech.com Received: from localhost.localdomain.localdomain (10.5.21.103) by HXTBJIDCEMVIW02.hxtcorp.net (10.128.0.15) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Fri, 7 Sep 2018 19:19:45 +0800 From: Wang Dongsheng To: , CC: , , , , , Wang Dongsheng Subject: [PATCH v3 0/2] net: ethernet: i40e/i40evf fix build error Date: Fri, 7 Sep 2018 19:19:33 +0800 X-ASG-Orig-Subj: [PATCH v3 0/2] net: ethernet: i40e/i40evf fix build error Message-ID: <1536319175-3660-1-git-send-email-dongsheng.wang@hxt-semitech.com> X-Mailer: git-send-email 1.8.3.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.5.21.103] X-ClientProxiedBy: HXTBJIDCEMVIW01.hxtcorp.net (10.128.0.14) To HXTBJIDCEMVIW02.hxtcorp.net (10.128.0.15) X-Barracuda-Connect: UNKNOWN[10.128.0.15] X-Barracuda-Start-Time: 1536319181 X-Barracuda-Encrypted: ECDHE-RSA-AES256-SHA384 X-Barracuda-URL: https://192.168.50.101:443/cgi-mod/mark.cgi X-Virus-Scanned: by bsmtpd at hxt-semitech.com X-Barracuda-BRTS-Status: 1 X-Barracuda-Bayes: SPAM GLOBAL 0.9231 1.0000 3.4748 X-Barracuda-Spam-Score: 3.47 X-Barracuda-Spam-Status: No, SCORE=3.47 using global scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=9.0 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.57058 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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