From patchwork Wed Oct 11 14:02:58 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 115560 Delivered-To: patch@linaro.org Received: by 10.140.22.163 with SMTP id 32csp797269qgn; Wed, 11 Oct 2017 07:03:33 -0700 (PDT) X-Google-Smtp-Source: AOwi7QCWZrw0bl2cAgkb/A5BUrPRJb0fRPZu7vcWmpzQcw4+RH9QSORNqwVw5oT1Wqxafj4EfMbS X-Received: by 10.98.16.149 with SMTP id 21mr10254904pfq.182.1507730612943; Wed, 11 Oct 2017 07:03:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1507730612; cv=none; d=google.com; s=arc-20160816; b=RIKFZuPDHy/y7pzcvCPNwxcz0x/7sRAkIX2GbcEeNADiSAwk3xq6Hw6xLTXp+Uz2Fu +Vw8StOcrL+WZC8E/RLcD8KX2lhfBJly71xm2lROw+1hQb20O3+p2TSCS5s98P5gIX1Y AH8H/ub2Vf2UQLeB9fxoa6/ov+V54aLE15Ui0q3F7OeGNufbm31VkOCgp45c6GJbidRt ixFmPUvawyl7xN27mXCifMhXO6zX7o7vifZyK66s6Wtdj/ElH1TOi9OXEYS2Wx0e4hNC 0l33fu9Pd+n52c6pqdkMUOPCa1ytXYFgIICUDdc8gUvsVNDl2zo2dRm9LSxJs8jZEilp KW+A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :arc-authentication-results; bh=FcnJNBST3vQCzcoHUpJgXhnN1dTofVo53UVVGHCUQas=; b=RKvrSN7G7nD+bREswKs4k1Z0kGKxyJ75rVQJJ/MeXNRSn0Np9gNXMTYfIfPXzvnXUM akKptZXM8eENGqxbt9wr1+STqunMmx7FktPBrugZ4CAMWH22WhicUQZphK5U0OcmADNB wl9LDJGAK8Ejm+IBpd3LeAYTKf3wkn+HEPjpUmnqnBWDN4Uir++Ncczhv2GAXqh9rjGR /rTvV/Hhog5AsbJ82mvKJRTXuR/brN3jpE8C9pbB8Ccdz/G0UJClsxWbsm0tKWd8b/k5 axQHunQ+3xtt71UiXHdLc6v5tfU3W1mUOj9nBrjTS7ia+Ov9rtcwsEv7N4KNuDG6lLQy pNxw== 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 y22si9732536pge.103.2017.10.11.07.03.29; Wed, 11 Oct 2017 07:03:32 -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 S1757516AbdJKOD2 (ORCPT + 27 others); Wed, 11 Oct 2017 10:03:28 -0400 Received: from mout.kundenserver.de ([212.227.17.24]:49955 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757314AbdJKODZ (ORCPT ); Wed, 11 Oct 2017 10:03:25 -0400 Received: from wuerfel.lan ([95.208.190.237]) by mrelayeu.kundenserver.de (mreue101 [212.227.15.145]) with ESMTPA (Nemesis) id 0MGzMw-1e67Lo3mZG-00Dkz3; Wed, 11 Oct 2017 16:03:19 +0200 From: Arnd Bergmann To: Jeff Kirsher Cc: Arnd Bergmann , Jacob Keller , Alexander Duyck , Mitch Williams , Filip Sadowski , intel-wired-lan@lists.osuosl.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] i40e/i40evf: actually use u32 for feature flags Date: Wed, 11 Oct 2017 16:02:58 +0200 Message-Id: <20171011140316.3802721-1-arnd@arndb.de> X-Mailer: git-send-email 2.9.0 X-Provags-ID: V03:K0:hQHa00ik4asz32wR58TbgCWJk0+jOkcPiegeNm7JGgUZHKDiz2e CE1n2wDcWZCw+EYGO8Uw/oNNyWbC6q+0FIAFLCDUxEOHUj7MrX8FSVNBYmAc9AJ4byqqWL5 VKTjnD+ClBllsi0dSYZqNpkhLiLmF9bJaZVCx8PIK5A/tmA/VNptobKj7Z9jF38ptJwym4b iNyJXFNNhq3QZMlqMdIJA== X-UI-Out-Filterresults: notjunk:1; V01:K0:h4z6XXJN960=:6rd7isZZA9Hv/XGL2J2odW pGqB4MzH9F9xaP90cLrJ4PWXx5bz+1URmW846q3uSCCRntx4/zEjLJkmw+JJNAZ+7BKsbZdcp UpqvNO2tSk4YRqObCsBDTVT4z8VEQClGLjXAgZL6ECH08+QEhcni6zFkuxvl6jkPREaszp4FP LmMO8rYlVAPAH2bopDBPU2tcNHL2WJaxcC4MgrCmi+nHvfcqdlaEUGKjmSLoqAVS7jQezg9Vk mZ5kEW05Q9ifjCkkrqlMsX7b40BLWm2b0jktUcEtqD0FjfAnTULhrECWt8SJUqGHpYQ5YzGKc DqDuB/JJml8lzDrY7eu3AlUjqLHVbWv2DcloiRpXX2LiDdzRDpQaocTY7dVwPDR0Zrd9zxkPC 8EWKPBDMwVpWO0/xQzIaWqow6aLYWpIXfS9UQAuidMbdOzFzo8fR+E+Eh2ICWCE+271e9ULpk tnmSjWl5HdTkaG6xPhS1+ZjVCXrmfD2aUJDtCQeQzVCCL2J8ZWQTsjAvp1IqYTFEIG16wK8nx kzX6qRvKQ5kdjrr0PYWRqaSQ7WKnquTuv9kS9VSDMz8+ri2PMDtXBrqaJqTyzaQDU2ceOTM5h RObygpFjIzwDUuJ5rdCVKkwtyP1cbtTfo1AeUY+H6Xp6jlNdB34E8UuVf/fhelCUm3FtoMB1K IoNbFTD1GI+Oz8AKSpA82IlatihqWjaO4iVDQ8P2jokQI6olgs/D9NsdQ003TUpnDarMqkw5g TKxMDodkbHMbPyMEVuOnkFj4YFSPygWN3s+uxg== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org A previous cleanup intended to change the flags variable to 32 bit instead of 64, but accidentally left out the important part of that change, leading to a build error: drivers/net/ethernet/intel/i40e/i40e_ethtool.o: In function `i40e_set_priv_flags': i40e_ethtool.c:(.text+0x1a94): undefined reference to `wrong_size_cmpxchg' This adds the missing modification. Fixes: b74f571f59a8 ("i40e/i40evf: organize and re-number feature flags") Signed-off-by: Arnd Bergmann --- drivers/net/ethernet/intel/i40e/i40e.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.9.0 Acked-by: Jacob Keller diff --git a/drivers/net/ethernet/intel/i40e/i40e.h b/drivers/net/ethernet/intel/i40e/i40e.h index 18c453a3e728..7baf6d8a84dd 100644 --- a/drivers/net/ethernet/intel/i40e/i40e.h +++ b/drivers/net/ethernet/intel/i40e/i40e.h @@ -424,7 +424,7 @@ struct i40e_pf { #define I40E_HW_PORT_ID_VALID BIT(17) #define I40E_HW_RESTART_AUTONEG BIT(18) - u64 flags; + u32 flags; #define I40E_FLAG_RX_CSUM_ENABLED BIT(0) #define I40E_FLAG_MSI_ENABLED BIT(1) #define I40E_FLAG_MSIX_ENABLED BIT(2)