Building the Linux kernel with Clang and LLVM
 help / color / mirror / Atom feed
* Re: usb: gadget: f_uac1: fix ac_header_desc in descriptor lists
@ 2026-10-01 13:59 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-10-01 13:59 UTC (permalink / raw)
  Cc: llvm, oe-kbuild-all

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2026-10-01 14:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-01 13:59 usb: gadget: f_uac1: fix ac_header_desc in descriptor lists kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox