From: kernel test robot <lkp@intel.com>
To: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev,
"Thomas Weißschuh " <thomas.weissschuh@linutronix.de>
Subject: [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'
Date: Sun, 25 Oct 2026 17:48:33 +0800 [thread overview]
Message-ID: <202610251714.Sht9doVs-lkp@intel.com> (raw)
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
reply other threads:[~2026-10-25 9:48 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=202610251714.Sht9doVs-lkp@intel.com \
--to=lkp@intel.com \
--cc=bartosz.golaszewski@oss.qualcomm.com \
--cc=llvm@lists.linux.dev \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=thomas.weissschuh@linutronix.de \
/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.