* [linux-next:master 19256/19841] drivers/gpio/gpio-sim.c:1394:3: error: field designator 'ct_attrs_const' does not refer to any field in type 'const struct config_item_type'
@ 2026-10-25 9:48 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-10-25 9:48 UTC (permalink / raw)
To: Bartosz Golaszewski; +Cc: llvm, oe-kbuild-all, Thomas Weißschuh
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: 20a33c6b6cbe7e4805dfb6cd68816937443aa148
commit: b57f502a681296be357e5c9dc72b53b083b26472 [19256/19841] gpio: sim: constify struct configfs_attribute
config: hexagon-allmodconfig (https://download.01.org/0day-ci/archive/20261025/202610251714.Sht9doVs-lkp@intel.com/config)
compiler: clang version 24.0.0git (https://github.com/llvm/llvm-project 186e70f4e6a1521991d2340d3d49b23b1beff11f)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261025/202610251714.Sht9doVs-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/202610251714.Sht9doVs-lkp@intel.com/
Note: the linux-next/master HEAD 20a33c6b6cbe7e4805dfb6cd68816937443aa148 builds fine.
It may have been fixed somewhere.
All errors (new ones prefixed by >>):
>> drivers/gpio/gpio-sim.c:1394:3: error: field designator 'ct_attrs_const' does not refer to any field in type 'const struct config_item_type'
1394 | .ct_attrs_const = gpio_sim_hog_config_attrs,
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/gpio/gpio-sim.c:1448:3: error: field designator 'ct_attrs_const' does not refer to any field in type 'const struct config_item_type'
1448 | .ct_attrs_const = gpio_sim_line_config_attrs,
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/gpio/gpio-sim.c:1509:3: error: field designator 'ct_attrs_const' does not refer to any field in type 'const struct config_item_type'
1509 | .ct_attrs_const = gpio_sim_bank_config_attrs,
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/gpio/gpio-sim.c:1564:3: error: field designator 'ct_attrs_const' does not refer to any field in type 'const struct config_item_type'
1564 | .ct_attrs_const = gpio_sim_device_config_attrs,
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4 errors generated.
vim +1394 drivers/gpio/gpio-sim.c
1391
1392 static const struct config_item_type gpio_sim_hog_config_type = {
1393 .ct_item_ops = &gpio_sim_hog_config_item_ops,
> 1394 .ct_attrs_const = gpio_sim_hog_config_attrs,
1395 .ct_owner = THIS_MODULE,
1396 };
1397
--
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-25 9:48 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-25 9:48 [linux-next:master 19256/19841] drivers/gpio/gpio-sim.c:1394: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 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.