All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: "Chen-Yu Tsai" <wenst@chromium.org>
Cc: oe-kbuild-all@lists.linux.dev,
	Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
Subject: [wens:mtk-wip 15/66] drivers/usb/core/hub.c:885:undefined reference to `pwrseq_enable'
Date: Sat, 12 Sep 2026 20:35:01 +0800	[thread overview]
Message-ID: <202609122013.TlPGSKEG-lkp@intel.com> (raw)

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

                 reply	other threads:[~2026-09-12 12:35 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=202609122013.TlPGSKEG-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=bartosz.golaszewski@oss.qualcomm.com \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=wenst@chromium.org \
    /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.