From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.3 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3EDCAC43460 for ; Thu, 1 Apr 2021 17:55:52 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 0430A60FF3 for ; Thu, 1 Apr 2021 17:55:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234518AbhDARzu (ORCPT ); Thu, 1 Apr 2021 13:55:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58368 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236457AbhDARpB (ORCPT ); Thu, 1 Apr 2021 13:45:01 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DAE45C02FEBD; Thu, 1 Apr 2021 09:35:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:Content-Type: In-Reply-To:MIME-Version:Date:Message-ID:References:Cc:To:From:Subject:Sender :Reply-To:Content-ID:Content-Description; bh=5SqeLjIiccJPe0pXzb4CRZDwAFdsFFU19Tmh4S4csVw=; b=BSorskOdJNGRSIu3iPmCp7cgta NxpM2ZPh+yl8uWviEOGxUg1BExIqE4CjK7jUjWlTcL7HVW5EkUwtzuFKeVR0heYk07SpiW14GTlzO AThkrmMQeDaWfKc7SrrnSkHi50jtRN9Vg/u/kXbRR5viOTYwWywXkxZV2LRYu2i+ttXWEn+Cazeh6 p+PCnZm0P1AscmrGC0++YK25JNfMUqSTyjDN0Nmdy8lbYco67+D43Ap3U3g0k6OOSpSzd7NristB5 dRPjUmpuzeuHF0NMiLa2HYOU8BFz/EosdIYk0KI3ctRuZymIK7JZwRwcDzWIMc6WhVw/dZl1NGtnR kGUZwX/g==; Received: from [2601:1c0:6280:3f0::e0e1] by casper.infradead.org with esmtpsa (Exim 4.94 #2 (Red Hat Linux)) id 1lS0Hj-006MUJ-DI; Thu, 01 Apr 2021 16:35:16 +0000 Subject: Re: linux-next: Tree for Mar 31 (drivers/phy/marvell/phy-mvebu-cp110-utmi.o) From: Randy Dunlap To: Kostya Porotchkin , Stephen Rothwell , Linux Next Mailing List Cc: Linux Kernel Mailing List , "netdev@vger.kernel.org" References: Message-ID: <70a1d2ea-406c-c3f2-30a8-54ed3e95c646@infradead.org> Date: Thu, 1 Apr 2021 09:35:04 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-next@vger.kernel.org On 4/1/21 9:29 AM, Randy Dunlap wrote: > On 4/1/21 5:33 AM, Kostya Porotchkin wrote: >> Hi, Randy, >> >>> -----Original Message----- >>> From: Randy Dunlap >>> Sent: Wednesday, March 31, 2021 18:28 >>> To: Stephen Rothwell ; Linux Next Mailing List >> next@vger.kernel.org> >>> Cc: Linux Kernel Mailing List ; Kostya >>> Porotchkin ; netdev@vger.kernel.org >>> Subject: [EXT] Re: linux-next: Tree for Mar 31 (drivers/phy/marvell/phy-mvebu- >>> cp110-utmi.o) >>> >> >> >>> >>> on i386: >>> >>> ld: drivers/phy/marvell/phy-mvebu-cp110-utmi.o: in function >>> `mvebu_cp110_utmi_phy_probe': >>> phy-mvebu-cp110-utmi.c:(.text+0x152): undefined reference to >>> `of_usb_get_dr_mode_by_phy' >>> >> [KP] This driver depends on ARCH_MVEBU (arm64). >> How it happens that it is included in i386 builds? > > Due to COMPILE_TEST: > > config PHY_MVEBU_CP110_UTMI > tristate "Marvell CP110 UTMI driver" > depends on ARCH_MVEBU || COMPILE_TEST > depends on OF > select GENERIC_PHY > > >> >> Regards >> Kosta >>> >>> Full randconfig file is attached. >>> >>> -- This happens because CONFIG_USB is not set but the missing function is only compiled if CONFIG_USB_COMMON is set. -- ~Randy