Received: by 10.213.65.68 with SMTP id h4csp2118497imn; Sun, 8 Apr 2018 20:09:51 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+0/iRDGP/RChIforkQ0A/kweGPBwD/j+ZMpMOesZ3XjrPl0n0Xisp8hqRHY2/6AsJN/lH6 X-Received: by 10.101.83.7 with SMTP id m7mr23842930pgq.1.1523243391673; Sun, 08 Apr 2018 20:09:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523243391; cv=none; d=google.com; s=arc-20160816; b=zKDVTaQfIKbnJz6ehI5008b2OFbmzFi5xUsH7C/fIpv8lzXxqq86v3R0XqcLpNJDA6 XYSsnbwWzDecFYjujKojGLl6cB0NKZuKDmFaMSRraP4xNR5JTwTEw4Wxw00n6HteuHUO N1HqEWbruIdohCiZLzhriiH9kIm5PjJR7QTim0UxWIQpOFE4Q3QFuCsdKugl3IC77Uy8 dNDSfAoxOLNtNSN/VSF8W59yElt/8UDU35I5q2wQ7mP8/eFncEXZFIPSk2ne1YW2Di37 cw0YUtLUgeKnmMk+6siaH9xs0me6lRGLXD5D+HK5RVGcx2jVY35XFvrVibfeYQjd50gU +Apw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :spamdiagnosticmetadata:spamdiagnosticoutput:content-language :accept-language:in-reply-to:references:message-id:date:thread-index :thread-topic:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=f1hc6HZW9p+irROW5gByMPdoAzaB0sU2nD8MzrOJ5pw=; b=PadLY8P34C/iWVeMePH/8fMHNpmD3POXFrMo7QOQN5zCeAkfZQGu0nifJHlbjeW3cs G9pAhKObNlFSggmw6PJF0XZZUqtclRmrp0/R/UY93L/APavyRcBJZ6JVuJpop5j/X6KN jW6XYBOI8CFeci1b9hVvDbzwSOEERvo4Jy8AviTyEVMj5bgZPYFLD9Hp69yohzFNt/kF YPEu+vYfXEvyWv3U0WN+Uwy8z4O6A8Qk0FzsS9w954KaxbA7y8ij1Pcj5GcCraO5TLn3 qYN/5isUIMUbytk4FJr+06YODtLJzMkvmYg5UZFUKai1/ec/V1guKwE1Fp/Otl1Ecfwh wIeA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microsoft.com header.s=selector1 header.b=dnj/TAGt; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=microsoft.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p86si10026384pfi.223.2018.04.08.20.09.14; Sun, 08 Apr 2018 20:09:51 -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; dkim=pass header.i=@microsoft.com header.s=selector1 header.b=dnj/TAGt; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=microsoft.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755589AbeDICmQ (ORCPT + 99 others); Sun, 8 Apr 2018 22:42:16 -0400 Received: from mail-by2nam03on0133.outbound.protection.outlook.com ([104.47.42.133]:46250 "EHLO NAM03-BY2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1755476AbeDIA0z (ORCPT ); Sun, 8 Apr 2018 20:26:55 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=f1hc6HZW9p+irROW5gByMPdoAzaB0sU2nD8MzrOJ5pw=; b=dnj/TAGt3P+G3BpYyva98RQ/TIaaf9Hgo+T6jAMdvsg6pEkFXdCvw1VvRFgcTEBPrczFc1Qjp/fF3awqiD/6LIi9SGkeWzcCsb8egWaTfQV351txTG5r3M3ksKVvNu2FPrFgiAyL8REhb+vG8GJMkQThmsG6IbJ4OrT5c4B2P74= Received: from DM5PR2101MB1032.namprd21.prod.outlook.com (52.132.128.13) by DM5PR2101MB0885.namprd21.prod.outlook.com (52.132.132.154) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.696.0; Mon, 9 Apr 2018 00:26:47 +0000 Received: from DM5PR2101MB1032.namprd21.prod.outlook.com ([fe80::8109:aef0:a777:7059]) by DM5PR2101MB1032.namprd21.prod.outlook.com ([fe80::8109:aef0:a777:7059%2]) with mapi id 15.20.0696.003; Mon, 9 Apr 2018 00:26:47 +0000 From: Sasha Levin To: "stable@vger.kernel.org" , "linux-kernel@vger.kernel.org" CC: Fabio Estevam , "David S . Miller" , Sasha Levin Subject: [PATCH AUTOSEL for 4.9 029/293] net: fec: Add a fec_enet_clear_ethtool_stats() stub for CONFIG_M5272 Thread-Topic: [PATCH AUTOSEL for 4.9 029/293] net: fec: Add a fec_enet_clear_ethtool_stats() stub for CONFIG_M5272 Thread-Index: AQHTz5jyDEqCw0OXXUC/YKalc4relQ== Date: Mon, 9 Apr 2018 00:23:12 +0000 Message-ID: <20180409002239.163177-29-alexander.levin@microsoft.com> References: <20180409002239.163177-1-alexander.levin@microsoft.com> In-Reply-To: <20180409002239.163177-1-alexander.levin@microsoft.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [52.168.54.252] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;DM5PR2101MB0885;7:/qMWtQ220F7V7haI8AVao3FnBJxudK4lQB7FKED2mYg2IPHTB2IsJPLvxlJoP8NjcDWQmfNvx4McUtfAfUwqpEfDpbJXzUYOnkEVDFdAjam9K+rMzDgkNUislKq5TDPGREufHIxC9namgpER9Dra5P0nxDvxpNxyD9IvpUjrSMhgmAWmiGzUn/Cjbz4QwZk/QhAod3CUnb1aLJp6iHVOcvX/OWhy9APv8IXxtHyBgQaQdtX9VOO9GwMFOmJyvKsc;20:x7klgC0LuwCQvdKRbQ6QG1tlAofxi6HBjTUtRzKpiZF8hOUN6WBMI1xEsSOhAL/FWbKgkC8cW4VuaaKtivm1kP3w/Ns5uOX58ueoqhboudt8v+hnUnPdFyL9s7dhIwhCURRlgZad+YJq7Pvb4LJ+e4Q9/duQY78suEy1nZG6TGc= x-ms-office365-filtering-ht: Tenant X-MS-Office365-Filtering-Correlation-Id: 3acab99c-7f53-472d-23b1-08d59db09448 x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(7020095)(4652020)(48565401081)(5600026)(4604075)(3008032)(4534165)(4627221)(201703031133081)(201702281549075)(2017052603328)(7193020);SRVR:DM5PR2101MB0885; x-ms-traffictypediagnostic: DM5PR2101MB0885: authentication-results: spf=none (sender IP is ) smtp.mailfrom=Alexander.Levin@microsoft.com; x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(28532068793085)(89211679590171)(185117386973197); x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(8211001083)(61425038)(6040522)(2401047)(8121501046)(5005006)(93006095)(93001095)(3231221)(944501327)(52105095)(3002001)(10201501046)(6055026)(61426038)(61427038)(6041310)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(20161123564045)(20161123560045)(6072148)(201708071742011);SRVR:DM5PR2101MB0885;BCL:0;PCL:0;RULEID:;SRVR:DM5PR2101MB0885; x-forefront-prvs: 0637FCE711 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(39860400002)(366004)(346002)(376002)(396003)(39380400002)(189003)(199004)(2906002)(68736007)(22452003)(316002)(6512007)(5660300001)(6666003)(54906003)(110136005)(486006)(6486002)(8656006)(102836004)(36756003)(14454004)(99286004)(86612001)(105586002)(72206003)(106356001)(2900100001)(1076002)(97736004)(10090500001)(3280700002)(5250100002)(6436002)(3660700001)(6116002)(3846002)(305945005)(86362001)(59450400001)(66066001)(10290500003)(186003)(81166006)(8936002)(478600001)(476003)(25786009)(81156014)(8676002)(4326008)(7736002)(2501003)(107886003)(6506007)(2616005)(26005)(76176011)(446003)(53936002)(11346002)(22906009)(217873001);DIR:OUT;SFP:1102;SCL:1;SRVR:DM5PR2101MB0885;H:DM5PR2101MB1032.namprd21.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; received-spf: None (protection.outlook.com: microsoft.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: YuRbvs5AmZAOQZE6HsLY9vLoyKA9y5ZNE8ODyPc6c8N8NzOpEZRYlGyKRvgr5ucZEbUGem3JTHW118J2nI6y1RonqTYtSO2k8kPUppVOsk0vsXTVJIwqobxkBbMXkgl6UvUnHHAX+7W1NeJEoOdy5L1R5tr5s9i/FdNu5JIac5Wwm26jd42VbS4czpiblrV8mEYQubm37pIWxXtTj2kpkdoaLduzRS8NbhCKc2OldwaqO9rX8aN03vPMoPtnI3hsPFv6NjUMlgQ2FBjRY6XIoPGqPPRp9ykcjc4MzF2x7c022WSZw6lHbLc68vxZbysBCpZb0aTLQ9k4setqw/NVFqG8+LCHvhx38xs0BP/6m40zS0sgiI/YyB2x7JNNBdU0NdcAwI+olSazBanDVQEpvVcJK+1x6xf4/cFQ6P2UDQI= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-Network-Message-Id: 3acab99c-7f53-472d-23b1-08d59db09448 X-MS-Exchange-CrossTenant-originalarrivaltime: 09 Apr 2018 00:23:12.9873 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR2101MB0885 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Fabio Estevam [ Upstream commit bf292f1b2c813f1d6ac49b04bd1a9863d8314266 ] Commit 2b30842b23b9 ("net: fec: Clear and enable MIB counters on imx51") introduced fec_enet_clear_ethtool_stats(), but missed to add a stub for the CONFIG_M5272=3Dy case, causing build failure for the m5272c3_defconfig. Add the missing empty stub to fix the build failure. Reported-by: Paul Gortmaker Signed-off-by: Fabio Estevam Signed-off-by: David S. Miller Signed-off-by: Sasha Levin --- drivers/net/ethernet/freescale/fec_main.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/net/ethernet/freescale/fec_main.c b/drivers/net/ethern= et/freescale/fec_main.c index 05e5b38e4891..fe00f71bc6b4 100644 --- a/drivers/net/ethernet/freescale/fec_main.c +++ b/drivers/net/ethernet/freescale/fec_main.c @@ -2371,6 +2371,10 @@ static int fec_enet_get_sset_count(struct net_device= *dev, int sset) static inline void fec_enet_update_ethtool_stats(struct net_device *dev) { } + +static inline void fec_enet_clear_ethtool_stats(struct net_device *dev) +{ +} #endif /* !defined(CONFIG_M5272) */ =20 static int fec_enet_nway_reset(struct net_device *dev) --=20 2.15.1