From: kernel test robot <lkp@intel.com>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev
Subject: Re: usb: gadget: f_uac1: fix ac_header_desc in descriptor lists
Date: Thu, 1 Oct 2026 21:59:39 +0800 [thread overview]
Message-ID: <202610012157.VqwTIrZY-lkp@intel.com> (raw)
In-Reply-To: <202610012157.VqwTIrZY-lkp@intel.com>
Hi Paritosh,
kernel test robot noticed the following build errors:
url: https://github.com/intel-lab-lkp/linux/commits/paritoshpotukuchi-gmail-com/usb-gadget-f_uac1-fix-ac_header_desc-in-descriptor-lists/20261001-075808
base:
patch link: https://lore.kernel.org/r/202610012157.VqwTIrZY-lkp%40intel.com
config: arm-defconfig (https://download.01.org/0day-ci/archive/20261001/202610012157.VqwTIrZY-lkp@intel.com/config)
compiler: clang version 24.0.0git (https://github.com/llvm/llvm-project 5f609f950d2e80addf5566623013db68394334db)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261001/202610012157.VqwTIrZY-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/202610012157.VqwTIrZY-lkp@intel.com/
All errors (new ones prefixed by >>):
>> drivers/usb/gadget/function/f_uac1.c:263:2: error: initializer element is not a compile-time constant
263 | (struct usb_descriptor_header *)ac_header_desc,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/usb/gadget/function/f_uac1.c:335:2: error: initializer element is not a compile-time constant
335 | (struct usb_descriptor_header *)ac_header_desc,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2 errors generated.
vim +263 drivers/usb/gadget/function/f_uac1.c
260
261 static struct usb_descriptor_header *f_audio_desc[] = {
262 (struct usb_descriptor_header *)&ac_interface_desc,
> 263 (struct usb_descriptor_header *)ac_header_desc,
264
265 (struct usb_descriptor_header *)&usb_out_it_desc,
266 (struct usb_descriptor_header *)&io_out_ot_desc,
267 (struct usb_descriptor_header *)&out_feature_unit_desc,
268
269 (struct usb_descriptor_header *)&io_in_it_desc,
270 (struct usb_descriptor_header *)&usb_in_ot_desc,
271 (struct usb_descriptor_header *)&in_feature_unit_desc,
272
273 (struct usb_descriptor_header *)&ac_int_ep_desc,
274
275 (struct usb_descriptor_header *)&as_out_interface_alt_0_desc,
276 (struct usb_descriptor_header *)&as_out_interface_alt_1_desc,
277 (struct usb_descriptor_header *)&as_out_header_desc,
278
279 (struct usb_descriptor_header *)&as_out_type_i_desc,
280
281 (struct usb_descriptor_header *)&as_out_ep_desc,
282 (struct usb_descriptor_header *)&as_iso_out_desc,
283
284 (struct usb_descriptor_header *)&as_in_interface_alt_0_desc,
285 (struct usb_descriptor_header *)&as_in_interface_alt_1_desc,
286 (struct usb_descriptor_header *)&as_in_header_desc,
287
288 (struct usb_descriptor_header *)&as_in_type_i_desc,
289
290 (struct usb_descriptor_header *)&as_in_ep_desc,
291 (struct usb_descriptor_header *)&as_iso_in_desc,
292 NULL,
293 };
294
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next parent reply other threads:[~2026-10-01 14:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-01 13:59 kernel test robot [this message]
-- strict thread matches above, loose matches on Subject: below --
2026-10-01 18:24 usb: gadget: f_uac1: fix ac_header_desc in descriptor lists kernel test robot
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=202610012157.VqwTIrZY-lkp@intel.com \
--to=lkp@intel.com \
--cc=llvm@lists.linux.dev \
--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.