All of lore.kernel.org
 help / color / mirror / Atom feed
* [wens:mtk-wip 15/66] drivers/usb/core/hub.c:885:undefined reference to `pwrseq_enable'
@ 2026-09-12 12:35 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-09-12 12:35 UTC (permalink / raw)
  To: Chen-Yu Tsai; +Cc: oe-kbuild-all, Bartosz Golaszewski

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/wens/linux.git mtk-wip
head:   ac7b6280e922fd6f4053c6350fd5cd77ca1c73ef
commit: 065d96c0ba6c953aaaafba5d69440f823ee9c470 [15/66] usb: hub: Power on connected M.2 E-key connectors with power sequencing API
config: i386-randconfig-013-20260912 (https://download.01.org/0day-ci/archive/20260912/202609122013.TlPGSKEG-lkp@intel.com/config)
compiler: gcc-14 (Debian 14.2.0-19) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260912/202609122013.TlPGSKEG-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202609122013.TlPGSKEG-lkp@intel.com/

All errors (new ones prefixed by >>):

   ld: drivers/usb/core/hub.o: in function `usb_hub_set_port_pwrseq':
>> drivers/usb/core/hub.c:885:(.text+0x128a): undefined reference to `pwrseq_enable'
>> ld: drivers/usb/core/hub.c:886:(.text+0x1291): undefined reference to `pwrseq_disable'
   ld: drivers/usb/core/hub.o: in function `usb_port_is_power_on':
>> drivers/usb/core/hub.c:3276:(.text+0x4b6b): undefined reference to `pwrseq_get_state'
   ld: drivers/usb/core/port.o: in function `usb_port_device_release':
>> drivers/usb/core/port.c:374:(.text+0x19b): undefined reference to `pwrseq_put'
   ld: drivers/usb/core/port.o: in function `usb_hub_port_pwrseq_get':
>> drivers/usb/core/port.c:798:(.text+0x1079): undefined reference to `pwrseq_get'
   ld: drivers/usb/core/port.o: in function `usb_hub_remove_port_device':
>> drivers/usb/core/port.c:940:(.text+0x1375): undefined reference to `pwrseq_disable'

Kconfig warnings: (for reference only)
   WARNING: unmet direct dependencies detected for USB
   Depends on [m]: USB_SUPPORT [=y] && USB_ARCH_HAS_HCD [=y] && (POWER_SEQUENCING [=m] || POWER_SEQUENCING [=m]=n [=n])
   Selected by [y]:
   - TABLET_USB_KBTAB [=y] && INPUT [=y] && INPUT_TABLET [=y] && USB_ARCH_HAS_HCD [=y]
   - TOUCHSCREEN_USB_COMPOSITE [=y] && INPUT [=y] && INPUT_TOUCHSCREEN [=y] && USB_ARCH_HAS_HCD [=y]
   - USB_PULSE8_CEC [=y] && MEDIA_CEC_SUPPORT [=y] && USB_SUPPORT [=y] && TTY [=y]
   - USB_RAINSHADOW_CEC [=y] && MEDIA_CEC_SUPPORT [=y] && USB_SUPPORT [=y] && TTY [=y]
   Selected by [m]:
   - MOUSE_APPLETOUCH [=m] && INPUT [=y] && INPUT_MOUSE [=y] && USB_ARCH_HAS_HCD [=y]
   - MOUSE_SYNAPTICS_USB [=m] && INPUT [=y] && INPUT_MOUSE [=y] && USB_ARCH_HAS_HCD [=y]
   - TABLET_USB_AIPTEK [=m] && INPUT [=y] && INPUT_TABLET [=y] && USB_ARCH_HAS_HCD [=y]


vim +885 drivers/usb/core/hub.c

   878	
   879	static int usb_hub_set_port_pwrseq(struct usb_port *port, bool on)
   880	{
   881		if (!IS_ENABLED(CONFIG_POWER_SEQUENCING))
   882			return 0;
   883	
   884		if (on)
 > 885			return pwrseq_enable(port->pwrseq);
 > 886		return pwrseq_disable(port->pwrseq);
   887	}
   888	

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

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

only message in thread, other threads:[~2026-09-12 12:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-12 12:35 [wens:mtk-wip 15/66] drivers/usb/core/hub.c:885:undefined reference to `pwrseq_enable' kernel test robot

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.