From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752908AbdBJRux (ORCPT ); Fri, 10 Feb 2017 12:50:53 -0500 Received: from mail-wm0-f67.google.com ([74.125.82.67]:35403 "EHLO mail-wm0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751924AbdBJRuu (ORCPT ); Fri, 10 Feb 2017 12:50:50 -0500 Subject: Re: [PATCH] [net-next] ARM: orion: fix PHYLIB dependency To: Arnd Bergmann References: <20170209150834.1158193-1-arnd@arndb.de> Cc: "David S . Miller" , Networking , Jason Cooper , Andrew Lunn , Sebastian Hesselbarth , Gregory Clement , Russell King , Linux ARM , Linux Kernel Mailing List From: Florian Fainelli Message-ID: <352146cc-845c-2860-44ca-7338eb53e260@gmail.com> Date: Fri, 10 Feb 2017 09:42:21 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 02/10/2017 12:20 AM, Arnd Bergmann wrote: > On Thu, Feb 9, 2017 at 7:22 PM, Florian Fainelli wrote: >> On 02/09/2017 07:08 AM, Arnd Bergmann wrote: >> I disabled CONFIG_NETDEVICES to force CONFIG_PHY not to be set here, and >> I was not able to reproduce this, what am I missing? > > In the ARMv5 allmodconfig build, this fails because CONFIG_PHY=m, and > we can't call into it. You could use IS_BUILTIN instead of IS_ENABLED in > the header as a oneline workaround, but I think that would be more confusing > to real users that try to use CONFIG_PHY=m without realizing why they lose > access to their switch. I see, this patch should also help fixing this: http://patchwork.ozlabs.org/patch/726381/ -- Florian