From: kernel test robot <lkp@intel.com>
To: Elson Serrao <elson.serrao@oss.qualcomm.com>
Cc: oe-kbuild-all@lists.linux.dev, linux-usb@vger.kernel.org,
"Greg Kroah-Hartman" <gregkh@linuxfoundation.org>
Subject: [usb:usb-next 23/66] drivers/usb/dwc3/core.c:2501: undefined reference to `power_supply_unreg_notifier'
Date: Sat, 11 Jul 2026 20:47:45 +0800 [thread overview]
Message-ID: <202607112037.tVbaUKOJ-lkp@intel.com> (raw)
tree: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-next
head: 1db5c6b0b9834aee2f14e39764becfcc29d09ccf
commit: 7c87ef27af79b3f905aed2edf9f60ce2a75d38e3 [23/66] usb: dwc3: avoid probe deferral when USB power supply is not available
config: parisc-randconfig-001-20260710 (https://download.01.org/0day-ci/archive/20260711/202607112037.tVbaUKOJ-lkp@intel.com/config)
compiler: hppa-linux-gcc (GCC) 9.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260711/202607112037.tVbaUKOJ-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/202607112037.tVbaUKOJ-lkp@intel.com/
All errors (new ones prefixed by >>):
hppa-linux-ld: drivers/usb/dwc3/core.o: in function `dwc3_core_remove':
>> drivers/usb/dwc3/core.c:2501: undefined reference to `power_supply_unreg_notifier'
hppa-linux-ld: drivers/usb/dwc3/core.o: in function `dwc3_get_usb_power_supply':
>> drivers/usb/dwc3/core.c:2245: undefined reference to `power_supply_reg_notifier'
hppa-linux-ld: drivers/usb/dwc3/core.o: in function `dwc3_core_probe':
drivers/usb/dwc3/core.c:2443: undefined reference to `power_supply_unreg_notifier'
vim +2501 drivers/usb/dwc3/core.c
2476
2477 void dwc3_core_remove(struct dwc3 *dwc)
2478 {
2479 pm_runtime_get_sync(dwc->dev);
2480
2481 dwc3_core_exit_mode(dwc);
2482 dwc3_debugfs_exit(dwc);
2483
2484 dwc3_core_exit(dwc);
2485 dwc3_ulpi_exit(dwc);
2486
2487 pm_runtime_allow(dwc->dev);
2488 pm_runtime_disable(dwc->dev);
2489 pm_runtime_dont_use_autosuspend(dwc->dev);
2490 pm_runtime_put_noidle(dwc->dev);
2491 /*
2492 * HACK: Clear the driver data, which is currently accessed by parent
2493 * glue drivers, before allowing the parent to suspend.
2494 */
2495 dev_set_drvdata(dwc->dev, NULL);
2496 pm_runtime_set_suspended(dwc->dev);
2497
2498 dwc3_free_event_buffers(dwc);
2499
2500 if (dwc->psy_nb.notifier_call)
> 2501 power_supply_unreg_notifier(&dwc->psy_nb);
2502
2503 if (dwc->usb_psy) {
2504 cancel_work_sync(&dwc->vbus_draw_work);
2505 power_supply_put(dwc->usb_psy);
2506 }
2507 }
2508 EXPORT_SYMBOL_GPL(dwc3_core_remove);
2509
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next reply other threads:[~2026-07-11 12:48 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-11 12:47 kernel test robot [this message]
2026-07-12 8:00 ` [usb:usb-next 23/66] drivers/usb/dwc3/core.c:2501: undefined reference to `power_supply_unreg_notifier' Greg Kroah-Hartman
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=202607112037.tVbaUKOJ-lkp@intel.com \
--to=lkp@intel.com \
--cc=elson.serrao@oss.qualcomm.com \
--cc=gregkh@linuxfoundation.org \
--cc=linux-usb@vger.kernel.org \
--cc=oe-kbuild-all@lists.linux.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox