* [jfern:nova-core-experiments 247/411] warning: field `0` is never read
@ 2025-03-08 5:17 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-03-08 5:17 UTC (permalink / raw)
To: Dave Airlie; +Cc: oe-kbuild-all
tree: https://git.kernel.org/pub/scm/linux/kernel/git/jfern/linux.git nova-core-experiments
head: 3b93174b3502247b0c46bd54a7cf5f4105274edb
commit: fcfb703d90cd9cca4917782f4537e7cdcd6281e1 [247/411] rust: add auxiliary bus abstraction
config: x86_64-rhel-9.4-rust (https://download.01.org/0day-ci/archive/20250308/202503081305.wDEJstf8-lkp@intel.com/config)
compiler: clang version 18.1.8 (https://github.com/llvm/llvm-project 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250308/202503081305.wDEJstf8-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/202503081305.wDEJstf8-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> warning: field `0` is never read
--> rust/kernel/auxiliary_bus.rs:85:21
|
85 | pub struct DeviceId(bindings::auxiliary_device_id);
| -------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| |
| field in this struct
|
= note: `#[warn(dead_code)]` on by default
help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
|
85 | pub struct DeviceId(());
| ~~
--
>> warning: unsafe impl missing a safety comment
--> rust/kernel/auxiliary_bus.rs:87:1
|
87 | unsafe impl RawDeviceId for DeviceId {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: consider adding a safety comment on the preceding line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#undocumented_unsafe_blocks
--
>> warning: missing documentation for a module
--> rust/kernel/lib.rs:38:1
|
38 | pub mod auxiliary_bus;
| ^^^^^^^^^^^^^^^^^^^^^
|
= note: requested on the command line with `-W missing-docs`
--
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:[~2025-03-08 5:17 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-08 5:17 [jfern:nova-core-experiments 247/411] warning: field `0` is never read 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.