Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp2303254imm; Thu, 18 Oct 2018 12:18:42 -0700 (PDT) X-Google-Smtp-Source: ACcGV62xfsDFKN4PvPTBxJfim40hFhE8uW2d2FTsTnRajp4ijBplmt7SAxC7i9zzEFVCp4SZ1/vH X-Received: by 2002:a62:b50a:: with SMTP id y10-v6mr31649257pfe.199.1539890322218; Thu, 18 Oct 2018 12:18:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539890322; cv=none; d=google.com; s=arc-20160816; b=koTjrIAVYt2UQjMlyRbcZoP3KxmclTBG0PUYX5b0Tv2a9oJsnaqHI3k45aHEE9WBJw vZx1LZZB7Eee+E0oICK6HnL545iM+KzFqQORmjxbf3I4yJEDafuBcRu6gL5DsU8iMnuu 4R++gEJCeyTbvGDn9OoLaXOAKSggiqBXIXV17YhtfyQd5e3FL/ZED70RMTCle6RGBeqN ragBZ89/KDN8cTezVhzY0kO5WE85QAcvTAStAoOvW5aY8foKzqT0ICvOQcKAwbw0D82R YHzToCfGNqszH5cVfbP0S2TAhLb4CUx/A9af5ErE9sqrEMDWAXTFnTc8rtNODk6S9ZxI zdag== 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=3X8ou2N3Qjk3uAGT+ho6wSC4R/w7pkwUTWegc+yYDWQ=; b=R/SNqqU94IRPEKIDZxXlWY271uCMQclkS1YxjYwSThfgUVGAQoWLjHnBfq5t8oLAjF qeq/yoc0PMnUFxYVsS/vVwRKXSIEuUQIXhUuBNL58WfO1iQUWuWhvQdMeoXSxLmQEVss EKDEdGbwRUSenasIwSAlWCA4Pk3oaN+CYJ2ourAhh9ZfUvGKbs52VaBaqSkB+i/jsb9X wGCjNKrQgOleiD8pka+bHWPS0vFX5ROOJJXCzv7ZuZzH7DTGddP4Z+xjYa0fv+fvTyw8 eCv6FCM0ysQ38bu7uA7DDyCsSj/Ei+gn2VEqFMIKc5UYf0r4yBDKijtuMIw/eSNsoFFB VcNA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=TAZr24Nv; 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 p16-v6si22012709pgb.404.2018.10.18.12.18.25; Thu, 18 Oct 2018 12:18:42 -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=TAZr24Nv; 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 S1727170AbeJSDSm (ORCPT + 99 others); Thu, 18 Oct 2018 23:18:42 -0400 Received: from mail-wr1-f68.google.com ([209.85.221.68]:35001 "EHLO mail-wr1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726325AbeJSDSm (ORCPT ); Thu, 18 Oct 2018 23:18:42 -0400 Received: by mail-wr1-f68.google.com with SMTP id w5-v6so34884366wrt.2 for ; Thu, 18 Oct 2018 12:16:15 -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=3X8ou2N3Qjk3uAGT+ho6wSC4R/w7pkwUTWegc+yYDWQ=; b=TAZr24NvMbiwy2rJwtTacgPAB/SAVlUgZFBA30OMvpg3/R0N7fOL4xx6iFQLBBRCWL sEPp2xGXVRLEtMbXofwdkHtgXx6+56Bg7Mt82THOH/7dbz7xYZcTo4c3JBLAVep2J9MG bdcecD5giaXbVw+/tl+3oAiHnV9XmcaipZuoelmxX8U5Ec/jwHfhAf8CnfB8lJbFWf/H y5tSz1Oa77ASR/5/DC5J+aX53lJpEG0L4KsGQogCGzGHG6xuOMFUR/6aBNJBFcCUtuV6 mqs/61Uiv4QSKkaencIua1kbfrR3w+7gpAS3rN+47175u24ytEE475bmy/G6t+NKLIik bodQ== 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=3X8ou2N3Qjk3uAGT+ho6wSC4R/w7pkwUTWegc+yYDWQ=; b=otaaaXA1PD6S1axR7xrC3xIXN+JG5ll7uJb/8tImtLpbbMv/EPT8BMPJ0SWarzgZj/ NWK/y62uW6ZV+JBM9MMabIRcAGbW+V0uZPIriROwtmkpn0YEfL+oiE8dS+C2ztHIO1CL dWVMQOdZhsIbxQuZC4GPrH66ME26nJNZo9KCjlFQDgKBgpNDWBSGTdp9oK3R6MfBYnWI Dn5QEWYbILy73P8xjm00Kh3JCZKtBEWsltXDIR8AYlT42W/PtmPFBpli4JH/m8PjhB79 4CdAMQMxJasbiJx9Cgfl3jludI9dCED59HUSsjIHjTeBn6AvKV/CwShmjUeO87dsbcjs dQ5g== X-Gm-Message-State: ABuFfoi1RQlIDI1UEcAkjhLC1kUrnGCMWqHNXhZNb/F6VNKT59x6bA6R y1MDVsZOCODwKy0xYJaP4q7z6w== X-Received: by 2002:adf:a144:: with SMTP id r4-v6mr29792474wrr.169.1539890174954; Thu, 18 Oct 2018 12:16:14 -0700 (PDT) Received: from Red ([2a01:cb1d:147:7200:2e56:dcff:fed2:c6d6]) by smtp.googlemail.com with ESMTPSA id u76-v6sm1728921wmd.10.2018.10.18.12.16.13 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 18 Oct 2018 12:16:14 -0700 (PDT) Date: Thu, 18 Oct 2018 21:16:12 +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: <20181018191612.GB31736@Red> References: <1539875100-11121-1-git-send-email-clabbe@baylibre.com> <2621cbc9-47ed-ce2a-b7ee-262f17dc138f@gmail.com> <20181018184715.GA31736@Red> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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:55:49AM -0700, Florian Fainelli wrote: > On 10/18/2018 11:47 AM, LABBE Corentin wrote: > > 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. > > > > What you are writing is really lowering the confidence level, first > Andrew is the author of that patch, and second "just compiling" and > pretending this fixes a problem when it does not is not quite what I > would expect. > > I don't have a problem helping you find the solution or the right fix > though, even if it is not my patch, but please get the author and actual > problem right so we can move forward in confidence, thanks! Sorry again, I wanted to acknoledge my error but I did it too fast and late. And sorry to have confound you with Andrew.