Re: [PATCH] rust: add procedural macro for declaring configfs attributes

From: kernel test robot

Date: Wed May 20 2026 - 16:03:58 EST


Hi Malte,

kernel test robot noticed the following build warnings:

[auto build test WARNING on 254f49634ee16a731174d2ae34bc50bd5f45e731]

url: https://github.com/intel-lab-lkp/linux/commits/Malte-Wechter/rust-add-procedural-macro-for-declaring-configfs-attributes/20260520-154816
base: 254f49634ee16a731174d2ae34bc50bd5f45e731
patch link: https://lore.kernel.org/r/20260520-configfs-syn-v1-1-6c5b80a9cef2%40gmail.com
patch subject: [PATCH] rust: add procedural macro for declaring configfs attributes
config: x86_64-rhel-9.4-rust (https://download.01.org/0day-ci/archive/20260520/202605201854.YArCKAtw-lkp@xxxxxxxxx/config)
compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project 87f0227cb60147a26a1eeb4fb06e3b505e9c7261)
rustc: rustc 1.88.0 (6b00bc388 2025-06-23)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260520/202605201854.YArCKAtw-lkp@xxxxxxxxx/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@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202605201854.YArCKAtw-lkp@xxxxxxxxx/

All warnings (new ones prefixed by >>):

>> warning: unclosed HTML tag `Configuration`
--> rust/macros/lib.rs:561:30
|
561 | /// Subsystem<Configuration>,
| ^^^^^^^^^^^^^^^
|
= note: `#[warn(rustdoc::invalid_html_tags)]` on by default
help: try marking as source code
|
561 | /// `Subsystem<Configuration>`,
| + +
--
>> warning: unclosed HTML tag `Configuration`
--> rust/macros/lib.rs:564:30
|
564 | /// Subsystem<Configuration>,
| ^^^^^^^^^^^^^^^
|
help: try marking as source code
|
564 | /// `Subsystem<Configuration>`,
| + +
--
>> warning: unresolved link to `crate::configfs_attrs`
--> rust/kernel/configfs.rs:240:1
|
240 | / /// A configfs group.
241 | | ///
242 | | /// To add a subgroup to configfs, pass this type as `ctype` to
243 | | /// [`crate::configfs_attrs`] when creating a group in [`GroupOperations::make_group`].
| |_______________________________________________________________________________________^
|
= note: the link appears in this line:
--
>> warning: unresolved link to `kernel::configfs_attrs`
--> rust/kernel/configfs.rs:630:1
|
630 | / /// Operations supported by an attribute.
631 | | ///
632 | | /// Implement this trait on type and pass that type as generic parameter when
633 | | /// creating an [`Attribute`]. The type carrying the implementation serve no
... |
640 | | /// attributes via the [`kernel::configfs_attrs`] macro, to tie
641 | | /// `AttributeOperations` implementations to concrete named attributes.
| |_______________________________________________________________________^
|
= note: the link appears in this line:
--
>> warning: unresolved link to `kernel::configfs_attrs`
--> rust/kernel/configfs.rs:672:7
|
672 | /// [`kernel::configfs_attrs`] macro to declare a static set of attributes for a
| ^^^^^^^^^^^^^^^^^^^^^^ no item named `configfs_attrs` in module `kernel`
--
>> warning: unresolved link to `kernel::configfs_attrs`
--> rust/kernel/configfs.rs:678:7
|
678 | /// [`kernel::configfs_attrs`] macro.
| ^^^^^^^^^^^^^^^^^^^^^^ no item named `configfs_attrs` in module `kernel`
--
>> warning: unresolved link to `kernel::configfs_attrs`
--> rust/kernel/configfs.rs:723:1
|
723 | / /// A representation of the attributes that will appear in a [`Group`] or
724 | | /// [`Subsystem`].
725 | | ///
726 | | /// Users should not directly instantiate objects of this type. Rather, they
727 | | /// should use the [`kernel::configfs_attrs`] macro to statically declare the
728 | | /// shape of a [`Group`] or [`Subsystem`].
| |__________________________________________^
|
= note: the link appears in this line:

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