All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: cros-kernel-buildreports@googlegroups.com
Cc: oe-kbuild-all@lists.linux.dev
Subject: [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?
Date: Sat, 29 Aug 2026 07:21:27 +0800	[thread overview]
Message-ID: <202608290757.TgNd4V6l-lkp@intel.com> (raw)

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

                 reply	other threads:[~2026-08-28 23:22 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=202608290757.TgNd4V6l-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=cros-kernel-buildreports@googlegroups.com \
    --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 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.