Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp2273300imm; Thu, 18 Oct 2018 11:49:13 -0700 (PDT) X-Google-Smtp-Source: ACcGV614dAB19xxWq6bJwVsJTJ0G54DClwZL1p13sdPlFp727hzi+BVngk7FgcXNbccdVEaz4D4s X-Received: by 2002:a17:902:b212:: with SMTP id t18-v6mr31475596plr.158.1539888553123; Thu, 18 Oct 2018 11:49:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539888553; cv=none; d=google.com; s=arc-20160816; b=Z/OlVXIy2lM1gCw6G4E5+9OhRoR8amByhhRqlzgQfgCbN1iTIuwa6iIx3SVKlRVivj r4bsikEzth5qYQpUZPrdhmo4sDH1ygOIbUpARLhY9VBOVmd30ZUCznRdFv45gbQHfYyT bgcp7BsFj//WfxaP3VEPBIVWsNU+vpIRvXNVkJgvNh0BD9lrj3J3y8Ts4NToqxp3Jjbi 2V2G5Wgs2ckD1z0N1Wo3NmHNEEZf1RSlvlqz0koUzHlz1jy24xZbhirIb+6cH0RA2du3 j3IUc2c+HC/eL6QFJmWFgtsnVsGdvWTTFsBJdj3gf11KO5WRwxSGb5bxry77IBDBIJI0 ncsg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=LuCsN7zRGi4kWhgVN+m+FPdRHfcPPRaDX2ba9R2oHrM=; b=fFyb7bMAeHcVw0grn4CVkQbtjhg85ujOtSYeEqKUnNCDiD6VI8oXa3lQe1q9LjkyFd PlIZEu06jYMcwTeNeX4Z2IX6N578CGii65OI7n+IlaJMf7sY1Y+bwXiUMnHP44gdus9S KsPjWRgOlAGwoOhvS8RaCVbbXqqmvdeme8TXryoBgKGGYWqQGvNHgftbgHfqvfWoPPSY OwwH9DKLR+2U2/0J1Jc3eU2r58DM/lfuHk+7GuqUNlSD1U08Ny4LHypjqHcMlT+GoX1A IoXjzhOsMqLGjR0uZaXnGX4onBURb1etZKtW29E39IotOT7kvsSY/tYhaVuwDVPM9n5X /abw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=YTRmEkn4; 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 l136-v6si23843658pfd.132.2018.10.18.11.48.57; Thu, 18 Oct 2018 11:49:13 -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=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=YTRmEkn4; 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 S1728502AbeJSCti (ORCPT + 99 others); Thu, 18 Oct 2018 22:49:38 -0400 Received: from mail-wr1-f65.google.com ([209.85.221.65]:39227 "EHLO mail-wr1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727116AbeJSCti (ORCPT ); Thu, 18 Oct 2018 22:49:38 -0400 Received: by mail-wr1-f65.google.com with SMTP id 61-v6so34813451wrb.6 for ; Thu, 18 Oct 2018 11:47:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=LuCsN7zRGi4kWhgVN+m+FPdRHfcPPRaDX2ba9R2oHrM=; b=YTRmEkn4Spva36U1ISIHENqGrRgYZI58zObIKO4X56FWZpkaYrhJ33punKpP+fDHEb zUP6rdMILsrNEs4vOok/aNriW0NkzSER13xsofRHUvUHHWmavT+ZoOcvTbp1jxN4o+Z7 ySU1dXqTQ8aVdHJiBkAdsjdN2X5807r/me6d7hfkTk3mCB6xXLsVGw1qEHjCgeBiv474 n4nGDGSBW45TxjcVoFYXJRQIHOgOGVNZhzya59hRcw8O1gvCSkM2vNPLmipVvwguUe78 /mqO9f0jNjYTc6Zml/PUMb4VJAuORPRBgjDMQsbhdZkDmgC/jn1T/v4+FgBHlOOSTm+M 0AlA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=LuCsN7zRGi4kWhgVN+m+FPdRHfcPPRaDX2ba9R2oHrM=; b=CvatpNBofzWDhuJEK/IFKBVhyfelTJ0x9Aua5edU68hKMlWxtrqQad7KfYbU3qhsAG WL0MV/ltyuwn6Wki4tBBoGzBXD7hnRl/+kFnrYok2sU41SbqoG0sN91B5v2w9dvrGWKd 0q0zg6LE/PvYdkGCgbeE1NvwhIheslMwmunlvrx8xhxKm2vbfINfTYhoc8qm6TysJ2hT cBw6HbzmCYDfd5dVsycTx4qVs5xRdQaSHE1xiVepKZic5nLvHMoT2xcc83Du5PIv7Uxt Ol46Xqn1fP5v/A6SBZj5Fz8YAZBuaxG1uGHofg65bUJsFX2rQeZF6aeV5bHTTEn+qqag ZLRw== X-Gm-Message-State: ABuFfohMZYWSO8qmcCs+GBhb85hIk5egb4rvkGo4Jae2jBhhPnqsgfXG 4UyXgFCeCXvYpWja3Z8shkE0iA== X-Received: by 2002:adf:f491:: with SMTP id l17-v6mr31394282wro.135.1539888437741; Thu, 18 Oct 2018 11:47:17 -0700 (PDT) Received: from Red ([2a01:cb1d:147:7200:2e56:dcff:fed2:c6d6]) by smtp.googlemail.com with ESMTPSA id g76-v6sm550348wmd.25.2018.10.18.11.47.16 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 18 Oct 2018 11:47:17 -0700 (PDT) Date: Thu, 18 Oct 2018 20:47:15 +0200 From: LABBE Corentin To: Florian Fainelli Cc: andrew@lunn.ch, davem@davemloft.net, fugang.duan@nxp.com, linux-kernel@vger.kernel.org, netdev@vger.kernel.org Subject: Re: [PATCH] net: ethernet: fec: Add missing SPEED_ Message-ID: <20181018184715.GA31736@Red> References: <1539875100-11121-1-git-send-email-clabbe@baylibre.com> <2621cbc9-47ed-ce2a-b7ee-262f17dc138f@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2621cbc9-47ed-ce2a-b7ee-262f17dc138f@gmail.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Oct 18, 2018 at 11:39:24AM -0700, Florian Fainelli wrote: > On 10/18/2018 08:05 AM, Corentin Labbe wrote: > > Since commit 58056c1e1b0e ("net: ethernet: Use phy_set_max_speed() to limit advertised speed"), the fec driver is unable to get any link. > > This is due to missing SPEED_. > > But SPEED_1000 is defined in include/uapi/linux/ethtool.h as 1000, so > surely this would amount to the same code paths being taken or am I > missing something here? The bisect session pointed your patch, reverting it fix the issue. BUT since the fix seemed trivial I sent the patch without more test then compile it. Sorry, I have just found some minutes ago that it didnt fix the issue. But your patch is still the cause for sure.