From: kernel test robot <lkp@intel.com>
To: "Thomas Weißschuh " <linux@weissschuh.net>
Cc: oe-kbuild-all@lists.linux.dev
Subject: [thomas-weissschuh:b4/configfs-const 32/34] samples/configfs/configfs_sample.c:378:27: error: initialization of 'const struct configfs_attribute * const*' from incompatible pointer type 'struct configfs_attribute **'
Date: Sat, 07 Nov 2026 21:49:17 +0100 [thread overview]
Message-ID: <202611072127.5ZXFcMim-lkp@intel.com> (raw)
tree: https://git.kernel.org/pub/scm/linux/kernel/git/thomas.weissschuh/linux.git b4/configfs-const
head: 0e68ea5975531faee86ef390018b5d08916b17db
commit: 4762ca57ffcb5fe7b2fddd96882daba9fe3ce303 [32/34] const ct_attrs
config: x86_64-randconfig-2103-20261107 (https://download.01.org/0day-ci/archive/20261107/202611072127.5ZXFcMim-lkp@intel.com/config)
compiler: gcc-14 (Debian 14.2.0-19) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261107/202611072127.5ZXFcMim-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/202611072127.5ZXFcMim-lkp@intel.com/
All errors (new ones prefixed by >>):
samples/configfs/configfs_sample.c:343:9: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
343 | &symlink_child_attr_nlinks,
| ^
>> samples/configfs/configfs_sample.c:378:27: error: initialization of 'const struct configfs_attribute * const*' from incompatible pointer type 'struct configfs_attribute **' [-Wincompatible-pointer-types]
378 | .ct_attrs = symlink_child_attrs,
| ^~~~~~~~~~~~~~~~~~~
samples/configfs/configfs_sample.c:378:27: note: (near initialization for 'symlink_child_type.<anonymous>.ct_attrs')
samples/configfs/configfs_sample.c:411:9: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
411 | &symlink_children_attr_description,
| ^
samples/configfs/configfs_sample.c:421:27: error: initialization of 'const struct configfs_attribute * const*' from incompatible pointer type 'struct configfs_attribute **' [-Wincompatible-pointer-types]
421 | .ct_attrs = symlink_children_attrs,
| ^~~~~~~~~~~~~~~~~~~~~~
samples/configfs/configfs_sample.c:421:27: note: (near initialization for 'symlink_children_type.<anonymous>.ct_attrs')
vim +378 samples/configfs/configfs_sample.c
0a51cf54232ecdf Breno Leitao 2026-08-26 375
0a51cf54232ecdf Breno Leitao 2026-08-26 376 static const struct config_item_type symlink_child_type = {
0a51cf54232ecdf Breno Leitao 2026-08-26 377 .ct_item_ops = &symlink_child_item_ops,
0a51cf54232ecdf Breno Leitao 2026-08-26 @378 .ct_attrs = symlink_child_attrs,
0a51cf54232ecdf Breno Leitao 2026-08-26 379 .ct_owner = THIS_MODULE,
0a51cf54232ecdf Breno Leitao 2026-08-26 380 };
0a51cf54232ecdf Breno Leitao 2026-08-26 381
:::::: The code at line 378 was first introduced by commit
:::::: 0a51cf54232ecdfb8172ad7943e04e67e401538a samples/configfs: add a subsystem that accepts symlinks
:::::: TO: Breno Leitao <leitao@debian.org>
:::::: CC: Breno Leitao <leitao@debian.org>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next reply other threads:[~2026-11-07 20:49 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-07 20:49 kernel test robot [this message]
-- strict thread matches above, loose matches on Subject: below --
2026-11-07 13:32 [thomas-weissschuh:b4/configfs-const 32/34] samples/configfs/configfs_sample.c:378:27: error: initialization of 'const struct configfs_attribute * const*' from incompatible pointer type 'struct configfs_attribute **' kernel test robot
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=202611072127.5ZXFcMim-lkp@intel.com \
--to=lkp@intel.com \
--cc=linux@weissschuh.net \
--cc=oe-kbuild-all@lists.linux.dev \
/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.