* [android-common:android13-5.10 0/2] drivers/usb/gadget/configfs.c:1620:2: error: implicit declaration of function 'acc_disconnect'
@ 2026-08-21 22:51 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-08-21 22:51 UTC (permalink / raw)
To: cros-kernel-buildreports; +Cc: oe-kbuild-all
Hi Ronak,
FYI, the error/warning still remains.
tree: https://android.googlesource.com/kernel/common android13-5.10
head: 233907fd00d20cb913bac974697845f18998af64
commit: 80fef39de7e9dbe706d0cbc820a09b5c05dc366f [0/2] ANDROID: usb: gadget: Resolve NULL pointer dereference in composite_disconnect
config: i386-randconfig-015-20260822 (https://download.01.org/0day-ci/archive/20260822/202608220616.rehAmLWe-lkp@intel.com/config)
compiler: clang version 24.0.0git (https://github.com/llvm/llvm-project 935bfc708590c60147a79c7df145bb6e68b1d388)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260822/202608220616.rehAmLWe-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/202608220616.rehAmLWe-lkp@intel.com/
All errors (new ones prefixed by >>):
>> drivers/usb/gadget/configfs.c:1620:2: error: implicit declaration of function 'acc_disconnect' [-Werror,-Wimplicit-function-declaration]
1620 | acc_disconnect();
| ^
1 error generated.
vim +/acc_disconnect +1620 drivers/usb/gadget/configfs.c
1603
1604 static void configfs_composite_disconnect(struct usb_gadget *gadget)
1605 {
1606 struct usb_composite_dev *cdev;
1607 struct gadget_info *gi;
1608 unsigned long flags;
1609
1610 cdev = get_gadget_data(gadget);
1611 if (!cdev)
1612 return;
1613
1614 #ifdef CONFIG_USB_CONFIGFS_F_ACC
1615 /*
1616 * accessory HID support can be active while the
1617 * accessory function is not actually enabled,
1618 * so we need to inform it when we are disconnected.
1619 */
> 1620 acc_disconnect();
1621 #endif
1622 gi = container_of(cdev, struct gadget_info, cdev);
1623 spin_lock_irqsave(&gi->spinlock, flags);
1624 cdev = get_gadget_data(gadget);
1625 if (!cdev || gi->unbind) {
1626 spin_unlock_irqrestore(&gi->spinlock, flags);
1627 return;
1628 }
1629
--
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-08-21 22:52 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-21 22:51 [android-common:android13-5.10 0/2] drivers/usb/gadget/configfs.c:1620:2: error: implicit declaration of function 'acc_disconnect' 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.