All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Sven Peter <sven@svenpeter.dev>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org
Subject: [asahilinux:sven/20210829 13/13] phy-apple.c:undefined reference to `usb_remove_phy'
Date: Mon, 30 Aug 2021 08:54:42 +0800	[thread overview]
Message-ID: <202108300835.cLYMGPAu-lkp@intel.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 2607 bytes --]

tree:   https://github.com/AsahiLinux/linux sven/20210829
head:   6db7d21b57b368ce4c62e201bded63d43b5940f9
commit: 6db7d21b57b368ce4c62e201bded63d43b5940f9 [13/13] WIP: phy: apple: Add Apple PHY driver
config: arm64-randconfig-r022-20210830 (attached as .config)
compiler: aarch64-linux-gcc (GCC) 11.2.0
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # https://github.com/AsahiLinux/linux/commit/6db7d21b57b368ce4c62e201bded63d43b5940f9
        git remote add asahilinux https://github.com/AsahiLinux/linux
        git fetch --no-tags asahilinux sven/20210829
        git checkout 6db7d21b57b368ce4c62e201bded63d43b5940f9
        # save the attached .config to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=arm64 SHELL=/bin/bash

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

   aarch64-linux-ld: Unexpected GOT/PLT entries detected!
   aarch64-linux-ld: Unexpected run-time procedure linkages detected!
   aarch64-linux-ld: drivers/phy/phy-apple.o: in function `apple_phy_remove':
>> phy-apple.c:(.text+0x28): undefined reference to `usb_remove_phy'
   aarch64-linux-ld: drivers/phy/phy-apple.o: in function `apple_phy_probe':
>> phy-apple.c:(.text+0x180): undefined reference to `usb_add_phy_dev'
   aarch64-linux-ld: drivers/power/supply/wm831x_power.o: in function `wm831x_power_probe':
>> wm831x_power.c:(.text+0xc0c): undefined reference to `devm_usb_get_phy_by_phandle'
   aarch64-linux-ld: drivers/power/supply/rt9455_charger.o: in function `rt9455_probe':
   rt9455_charger.c:(.text+0x1114): undefined reference to `devm_usb_get_phy'
   aarch64-linux-ld: drivers/power/supply/bq25890_charger.o: in function `bq25890_probe':
   bq25890_charger.c:(.text+0xba8): undefined reference to `devm_usb_get_phy'
   aarch64-linux-ld: drivers/power/supply/bq256xx_charger.o: in function `bq256xx_probe':
   bq256xx_charger.c:(.text+0x14e4): undefined reference to `devm_usb_get_phy'
>> aarch64-linux-ld: bq256xx_charger.c:(.text+0x156c): undefined reference to `devm_usb_get_phy'

Kconfig warnings: (for reference only)
   WARNING: unmet direct dependencies detected for USB_PHY
   Depends on USB_SUPPORT
   Selected by
   - PHY_APPLE && ARCH_APPLE && (ARM64 || COMPILE_TEST

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 35296 bytes --]

WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [asahilinux:sven/20210829 13/13] phy-apple.c:undefined reference to `usb_remove_phy'
Date: Mon, 30 Aug 2021 08:54:42 +0800	[thread overview]
Message-ID: <202108300835.cLYMGPAu-lkp@intel.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 2655 bytes --]

tree:   https://github.com/AsahiLinux/linux sven/20210829
head:   6db7d21b57b368ce4c62e201bded63d43b5940f9
commit: 6db7d21b57b368ce4c62e201bded63d43b5940f9 [13/13] WIP: phy: apple: Add Apple PHY driver
config: arm64-randconfig-r022-20210830 (attached as .config)
compiler: aarch64-linux-gcc (GCC) 11.2.0
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # https://github.com/AsahiLinux/linux/commit/6db7d21b57b368ce4c62e201bded63d43b5940f9
        git remote add asahilinux https://github.com/AsahiLinux/linux
        git fetch --no-tags asahilinux sven/20210829
        git checkout 6db7d21b57b368ce4c62e201bded63d43b5940f9
        # save the attached .config to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=arm64 SHELL=/bin/bash

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

   aarch64-linux-ld: Unexpected GOT/PLT entries detected!
   aarch64-linux-ld: Unexpected run-time procedure linkages detected!
   aarch64-linux-ld: drivers/phy/phy-apple.o: in function `apple_phy_remove':
>> phy-apple.c:(.text+0x28): undefined reference to `usb_remove_phy'
   aarch64-linux-ld: drivers/phy/phy-apple.o: in function `apple_phy_probe':
>> phy-apple.c:(.text+0x180): undefined reference to `usb_add_phy_dev'
   aarch64-linux-ld: drivers/power/supply/wm831x_power.o: in function `wm831x_power_probe':
>> wm831x_power.c:(.text+0xc0c): undefined reference to `devm_usb_get_phy_by_phandle'
   aarch64-linux-ld: drivers/power/supply/rt9455_charger.o: in function `rt9455_probe':
   rt9455_charger.c:(.text+0x1114): undefined reference to `devm_usb_get_phy'
   aarch64-linux-ld: drivers/power/supply/bq25890_charger.o: in function `bq25890_probe':
   bq25890_charger.c:(.text+0xba8): undefined reference to `devm_usb_get_phy'
   aarch64-linux-ld: drivers/power/supply/bq256xx_charger.o: in function `bq256xx_probe':
   bq256xx_charger.c:(.text+0x14e4): undefined reference to `devm_usb_get_phy'
>> aarch64-linux-ld: bq256xx_charger.c:(.text+0x156c): undefined reference to `devm_usb_get_phy'

Kconfig warnings: (for reference only)
   WARNING: unmet direct dependencies detected for USB_PHY
   Depends on USB_SUPPORT
   Selected by
   - PHY_APPLE && ARCH_APPLE && (ARM64 || COMPILE_TEST

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 35296 bytes --]

             reply	other threads:[~2021-08-30  0:55 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-30  0:54 kernel test robot [this message]
2021-08-30  0:54 ` [asahilinux:sven/20210829 13/13] phy-apple.c:undefined reference to `usb_remove_phy' kernel test robot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202108300835.cLYMGPAu-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=sven@svenpeter.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.