Building the Linux kernel with Clang and LLVM
 help / color / mirror / Atom feed
* [brgl:gpio/for-next 20/30] drivers/gpio/gpio-virtuser.c:1603:3: error: field designator 'ct_attrs_const' does not refer to any field in type 'const struct config_item_type'
@ 2026-10-28 13:12 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-10-28 13:12 UTC (permalink / raw)
  To: Bartosz Golaszewski
  Cc: llvm, oe-kbuild-all, linux-gpio, Thomas Weißschuh 

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux.git gpio/for-next
head:   5e826d71d4839d8471784d968274823f1f492eb5
commit: a67ab3994716e1bfe86b53330d1cf2f5bf6bfbad [20/30] gpio: virtuser: constify struct configfs_attribute
config: arm-randconfig-2001-20261028 (https://download.01.org/0day-ci/archive/20261028/202610281409.XHHiFcDP-lkp@intel.com/config)
compiler: clang version 24.0.0git (https://github.com/llvm/llvm-project 42d4451d86c175b745d6ea1c4081787994c7259b)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261028/202610281409.XHHiFcDP-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/202610281409.XHHiFcDP-lkp@intel.com/

All errors (new ones prefixed by >>):

>> drivers/gpio/gpio-virtuser.c:1603:3: error: field designator 'ct_attrs_const' does not refer to any field in type 'const struct config_item_type'
    1603 |         .ct_attrs_const = gpio_virtuser_lookup_entry_config_attrs,
         |         ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/gpio/gpio-virtuser.c:1719:3: error: field designator 'ct_attrs_const' does not refer to any field in type 'const struct config_item_type'
    1719 |         .ct_attrs_const = gpio_virtuser_device_config_attrs,
         |         ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   2 errors generated.


vim +1603 drivers/gpio/gpio-virtuser.c

  1599	
  1600	static const struct
  1601	config_item_type gpio_virtuser_lookup_entry_config_group_type = {
  1602		.ct_item_ops	= &gpio_virtuser_lookup_entry_config_item_ops,
> 1603		.ct_attrs_const	= gpio_virtuser_lookup_entry_config_attrs,
  1604		.ct_owner	= THIS_MODULE,
  1605	};
  1606	

--
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-28 13:12 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-28 13:12 [brgl:gpio/for-next 20/30] drivers/gpio/gpio-virtuser.c:1603:3: error: field designator 'ct_attrs_const' does not refer to any field in type 'const struct config_item_type' 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