All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
Cc: oe-kbuild-all@lists.linux.dev, linux-gpio@vger.kernel.org,
	"Thomas Weißschuh " <thomas.weissschuh@linutronix.de>
Subject: [brgl:gpio/for-next 19/30] drivers/gpio/gpio-aggregator.c:1251:10: error: 'const struct config_item_type' has no member named 'ct_attrs_const'
Date: Wed, 28 Oct 2026 12:39:24 +0100	[thread overview]
Message-ID: <202610281215.PpynnBO9-lkp@intel.com> (raw)

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux.git gpio/for-next
head:   5e826d71d4839d8471784d968274823f1f492eb5
commit: 59abcfeb59426e7575e80be53b7024a151def2b2 [19/30] gpio: aggregator: constify struct configfs_attribute
config: openrisc-randconfig-r2200-20261028 (https://download.01.org/0day-ci/archive/20261028/202610281215.PpynnBO9-lkp@intel.com/config)
compiler: or1k-linux-gcc (GCC) 16.2.0
smatch: v0.5.0-9187-g5189e3fb
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261028/202610281215.PpynnBO9-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/202610281215.PpynnBO9-lkp@intel.com/

All errors (new ones prefixed by >>):

>> drivers/gpio/gpio-aggregator.c:1251:10: error: 'const struct config_item_type' has no member named 'ct_attrs_const'
    1251 |         .ct_attrs_const = gpio_aggregator_line_attrs,
         |          ^~~~~~~~~~~~~~
>> drivers/gpio/gpio-aggregator.c:1251:27: error: initialization of 'const struct configfs_group_operations *' from incompatible pointer type 'const struct configfs_attribute * const*' [-Wincompatible-pointer-types]
    1251 |         .ct_attrs_const = gpio_aggregator_line_attrs,
         |                           ^~~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/gpio/gpio-aggregator.c:1251:27: note: (near initialization for 'gpio_aggregator_line_type.ct_group_ops')
   drivers/gpio/gpio-aggregator.c:1318:10: error: 'const struct config_item_type' has no member named 'ct_attrs_const'
    1318 |         .ct_attrs_const = gpio_aggregator_device_attrs,
         |          ^~~~~~~~~~~~~~
   drivers/gpio/gpio-aggregator.c:1318:27: error: initialization of 'const struct configfs_group_operations *' from incompatible pointer type 'const struct configfs_attribute * const*' [-Wincompatible-pointer-types]
    1318 |         .ct_attrs_const = gpio_aggregator_device_attrs,
         |                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/gpio/gpio-aggregator.c:1318:27: note: (near initialization for 'gpio_aggregator_device_type.ct_group_ops')
   drivers/gpio/gpio-aggregator.c:1318:27: warning: initialized field overwritten [-Woverride-init]
   drivers/gpio/gpio-aggregator.c:1318:27: note: (near initialization for 'gpio_aggregator_device_type.ct_group_ops')


vim +1251 drivers/gpio/gpio-aggregator.c

  1248	
  1249	static const struct config_item_type gpio_aggregator_line_type = {
  1250		.ct_item_ops	= &gpio_aggregator_line_item_ops,
> 1251		.ct_attrs_const	= gpio_aggregator_line_attrs,
  1252		.ct_owner	= THIS_MODULE,
  1253	};
  1254	

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

                 reply	other threads:[~2026-10-28 11:39 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=202610281215.PpynnBO9-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=bartosz.golaszewski@oss.qualcomm.com \
    --cc=linux-gpio@vger.kernel.org \
    --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.