All of lore.kernel.org
 help / color / mirror / Atom feed
* [android-common:android14-6.1-2026-06 3/3] drivers/usb/gadget/function/f_accessory.c:1493:5: sparse: sparse: symbol 'acc_ctrlrequest_configfs' was not declared. Should it be static?
@ 2026-08-28 23:21 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-08-28 23:21 UTC (permalink / raw)
  To: cros-kernel-buildreports; +Cc: oe-kbuild-all

tree:   https://android.googlesource.com/kernel/common android14-6.1-2026-06
head:   3fc92ed75e44bfb2b12bc625fad7a054b939f8a6
commit: 2b2acb8f4020d07622e2957a39e3e0bf9232427d [3/3] ANDROID: usb: f_accessory: Avoid bitfields for shared variables
config: arm64-randconfig-r134-20260829 (https://download.01.org/0day-ci/archive/20260829/202608290757.TgNd4V6l-lkp@intel.com/config)
compiler: aarch64-linux-gcc (GCC) 14.3.0
sparse: v0.6.5-rc1
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260829/202608290757.TgNd4V6l-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/202608290757.TgNd4V6l-lkp@intel.com/

sparse warnings: (new ones prefixed by >>)
   drivers/usb/gadget/function/f_accessory.c:372:23: sparse: sparse: Using plain integer as NULL pointer
   drivers/usb/gadget/function/f_accessory.c:769:35: sparse: sparse: Using plain integer as NULL pointer
   drivers/usb/gadget/function/f_accessory.c:783:23: sparse: sparse: Using plain integer as NULL pointer
   drivers/usb/gadget/function/f_accessory.c:825:23: sparse: sparse: Using plain integer as NULL pointer
>> drivers/usb/gadget/function/f_accessory.c:1493:5: sparse: sparse: symbol 'acc_ctrlrequest_configfs' was not declared. Should it be static?

vim +/acc_ctrlrequest_configfs +1493 drivers/usb/gadget/function/f_accessory.c

483cb5629ea789 Benoit Goby 2011-12-19  1492  
483cb5629ea789 Benoit Goby 2011-12-19 @1493  int acc_ctrlrequest_configfs(struct usb_function *f,
483cb5629ea789 Benoit Goby 2011-12-19  1494  			const struct usb_ctrlrequest *ctrl) {
483cb5629ea789 Benoit Goby 2011-12-19  1495  	if (f->config != NULL && f->config->cdev != NULL)
483cb5629ea789 Benoit Goby 2011-12-19  1496  		return acc_ctrlrequest(f->config->cdev, ctrl);
483cb5629ea789 Benoit Goby 2011-12-19  1497  	else
483cb5629ea789 Benoit Goby 2011-12-19  1498  		return -1;
483cb5629ea789 Benoit Goby 2011-12-19  1499  }
483cb5629ea789 Benoit Goby 2011-12-19  1500  

:::::: The code at line 1493 was first introduced by commit
:::::: 483cb5629ea7893f94481511e630ae14a5c0d1c0 ANDROID: usb: gadget: f_accessory: Add Android Accessory function

:::::: TO: Benoit Goby <benoit@android.com>
:::::: CC: Todd Kjos <tkjos@google.com>

--
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-28 23:22 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-28 23:21 [android-common:android14-6.1-2026-06 3/3] drivers/usb/gadget/function/f_accessory.c:1493:5: sparse: sparse: symbol 'acc_ctrlrequest_configfs' was not declared. Should it be static? 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.