lkml.org 
[lkml]   [2017]   [Mar]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [kbuild-all] [PATCH 1/2] usb: phy: Introduce one extcon device into usb phy
On 03/20, Baolin Wang wrote:
>Hi,
>
>
>On 19 March 2017 at 19:42, kbuild test robot <lkp@intel.com> wrote:
>> Hi Baolin,
>>
>> [auto build test ERROR on balbi-usb/next]
>> [also build test ERROR on v4.11-rc2 next-20170310]
>> [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/Baolin-Wang/usb-phy-Introduce-one-extcon-device-into-usb-phy/20170319-175509
>> base: https://git.kernel.org/pub/scm/linux/kernel/git/balbi/usb.git next
>> config: i386-randconfig-i1-201712 (attached as .config)
>> compiler: gcc-4.8 (Debian 4.8.4-1) 4.8.4
>> reproduce:
>> # save the attached .config to linux build tree
>> make ARCH=i386
>>
>> All errors (new ones prefixed by >>):
>>
>> drivers/built-in.o: In function `usb_add_extcon':
>>>> phy.c:(.text+0x231580): undefined reference to `extcon_get_edev_by_phandle'
>>>> phy.c:(.text+0x2315d0): undefined reference to `devm_extcon_register_notifier'
>> phy.c:(.text+0x231629): undefined reference to `devm_extcon_register_notifier'
>
>I am not sure how the errors were happened, since we will always
>select EXTCON if we have selected USB_PHY, moreover we have included

Hmm, this was a random config test and CONFIG_EXTCON was set as 'm', maybe you
need to specify the dependency between CONFIG_USB_PHY and CONFIG_EXTCON ?

Thanks,
Xiaolong

>the "linux/extcon.h" in phy.h file.
>
>--
>Baolin.wang
>Best Regards
>_______________________________________________
>kbuild-all mailing list
>kbuild-all@lists.01.org
>https://lists.01.org/mailman/listinfo/kbuild-all

\
 
 \ /
  Last update: 2017-03-22 07:37    [W:0.236 / U:0.400 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site