* [android-common:android14-6.1 0/1] drivers/firmware/arm_scmi/shmem.c:190:9: warning: 'reg_io_width' is used uninitialized
@ 2026-07-28 10:42 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-07-28 10:42 UTC (permalink / raw)
To: cros-kernel-buildreports; +Cc: oe-kbuild-all
Hi Florian,
FYI, the error/warning still remains.
tree: https://android.googlesource.com/kernel/common android14-6.1
head: a6fc30b246f0d8be1c91e0d37c8b3bc859b1b2bc
commit: fa34bcaf9e7b5bd86a417a14ea86bb88d9ea524e [0/1] BACKPORT: firmware: arm_scmi: Support 'reg-io-width' property for shared memory
config: x86_64-buildonly-randconfig-003-20260728 (https://download.01.org/0day-ci/archive/20260728/202607281819.jg2NEySd-lkp@intel.com/config)
compiler: gcc-13 (Debian 13.3.0-16) 13.3.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260728/202607281819.jg2NEySd-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/202607281819.jg2NEySd-lkp@intel.com/
All warnings (new ones prefixed by >>):
drivers/firmware/arm_scmi/shmem.c: In function 'shmem_get_io_ops':
>> drivers/firmware/arm_scmi/shmem.c:190:9: warning: 'reg_io_width' is used uninitialized [-Wuninitialized]
190 | switch (reg_io_width) {
| ^~~~~~
drivers/firmware/arm_scmi/shmem.c:187:13: note: 'reg_io_width' was declared here
187 | u32 reg_io_width;
| ^~~~~~~~~~~~
vim +/reg_io_width +190 drivers/firmware/arm_scmi/shmem.c
184
185 struct scmi_shmem_io_ops *shmem_get_io_ops(struct device_node *shmem)
186 {
187 u32 reg_io_width;
188
189 of_property_read_u32(shmem, "reg-io-width", ®_io_width);
> 190 switch (reg_io_width) {
--
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:[~2026-07-28 10:42 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-28 10:42 [android-common:android14-6.1 0/1] drivers/firmware/arm_scmi/shmem.c:190:9: warning: 'reg_io_width' is used uninitialized 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.