Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755335AbdLTNkR (ORCPT ); Wed, 20 Dec 2017 08:40:17 -0500 Received: from mail-lf0-f65.google.com ([209.85.215.65]:45971 "EHLO mail-lf0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754835AbdLTNkN (ORCPT ); Wed, 20 Dec 2017 08:40:13 -0500 X-Google-Smtp-Source: ACJfBounJE+f5gQ2VsKtlgYjKd0fPwwnS+3VlCmjKYfVHPT+M9vGDR+CivOCQ/cFXsV5ThcGuEw3Lw== Subject: Re: [PATCH v2 3/4] usb: phy: Add Kconfig entry for Tegra PHY driver To: Felipe Balbi , Alan Stern , Greg Kroah-Hartman , Jonathan Hunter , Thierry Reding Cc: kbuild test robot , kbuild-all@01.org, linux-usb@vger.kernel.org, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org References: <11a5e4f2690ea3052df884b831821e2fdf85634e.1513528011.git.digetx@gmail.com> <201712202122.hpEwmM4w%fengguang.wu@intel.com> From: Dmitry Osipenko Message-ID: <1804f5ae-ed44-4d76-d73e-738b79e3aea4@gmail.com> Date: Wed, 20 Dec 2017 16:40:08 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0 MIME-Version: 1.0 In-Reply-To: <201712202122.hpEwmM4w%fengguang.wu@intel.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1362 Lines: 30 On 20.12.2017 16:17, kbuild test robot wrote: > Hi Dmitry, > > Thank you for the patch! Yet something to improve: > > [auto build test ERROR on balbi-usb/next] > [also build test ERROR on v4.15-rc4 next-20171220] > [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] > > url: https://github.com/0day-ci/linux/commits/Dmitry-Osipenko/usb-phy-tegra-Cleanup-error-messages/20171220-142227 > base: https://git.kernel.org/pub/scm/linux/kernel/git/balbi/usb.git next > config: arm-tegra_defconfig (attached as .config) > compiler: arm-linux-gnueabi-gcc (Debian 7.2.0-11) 7.2.0 > reproduce: > wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross > chmod +x ~/bin/make.cross > # save the attached .config to linux build tree > make.cross ARCH=arm > > All errors (new ones prefixed by >>): > > drivers/usb/host/ehci-tegra.o: In function `tegra_ehci_hub_control': >>> ehci-tegra.c:(.text+0x818): undefined reference to `tegra_usb_phy_preresume' >>> ehci-tegra.c:(.text+0x9b4): undefined reference to `tegra_usb_phy_postresume' So there is actual build-dependency on the PHY for ehci-tegra and I haven't tested it properly. That's not good. Would it be fine to extend the generic PHY with pre/postresume restore_start/end functions?