mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* otg_fsm.c:undefined reference to `usb_gadget_vbus_connect'
@ 2021-03-09 14:35 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-03-09 14:35 UTC (permalink / raw)
  To: Dmitry Osipenko; +Cc: kbuild-all, linux-kernel, Greg Kroah-Hartman

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   144c79ef33536b4ecb4951e07dbc1f2b7fa99d32
commit: c3590c7656fb103db193e3538cb52b420985482c usb: host: ehci-tegra: Remove the driver
date:   8 weeks ago
config: arm64-randconfig-s031-20210309 (attached as .config)
compiler: aarch64-linux-gcc (GCC) 9.3.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # apt-get install sparse
        # sparse version: v0.6.3-262-g5e674421-dirty
        # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=c3590c7656fb103db193e3538cb52b420985482c
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout c3590c7656fb103db193e3538cb52b420985482c
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=arm64 

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/usb/chipidea/otg.o: in function `ci_handle_vbus_change':
   otg.c:(.text+0x4f8): undefined reference to `usb_gadget_vbus_disconnect'
   aarch64-linux-ld: otg.c:(.text+0x508): undefined reference to `usb_gadget_vbus_connect'
   aarch64-linux-ld: drivers/usb/chipidea/otg.o: in function `ci_otg_work':
   otg.c:(.text+0x78c): undefined reference to `usb_gadget_vbus_disconnect'
   aarch64-linux-ld: drivers/usb/chipidea/otg_fsm.o: in function `ci_otg_start_gadget':
>> otg_fsm.c:(.text+0x7a0): undefined reference to `usb_gadget_vbus_connect'
>> aarch64-linux-ld: otg_fsm.c:(.text+0x7c0): undefined reference to `usb_gadget_vbus_disconnect'

Kconfig warnings: (for reference only)
   WARNING: unmet direct dependencies detected for USB_CHIPIDEA
   Depends on USB_SUPPORT && (USB_EHCI_HCD && USB_GADGET || USB_EHCI_HCD && !USB_GADGET || !USB_EHCI_HCD && USB_GADGET && HAS_DMA
   Selected by
   - USB_EHCI_TEGRA && USB_SUPPORT && USB && USB_EHCI_HCD && ARCH_TEGRA

---
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: 40514 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-03-09 14:37 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-09 14:35 otg_fsm.c:undefined reference to `usb_gadget_vbus_connect' kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®