* [stefandoesinger-zx297520:dlink 76/131] drivers/spi/spi-zx.c:477:17: warning: implicit conversion from 'unsigned long' to 'u32' (aka 'unsigned int') changes value from 18446744073709551614 to 4294967294
@ 2026-09-03 2:05 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-09-03 2:05 UTC (permalink / raw)
To: Stefan Dösinger ; +Cc: llvm, oe-kbuild-all
tree: https://gitlab.com/stefandoesinger/zx297520-kernel dlink
head: 4132307830800b020a6d29d27cb3fec3cb5fbb90
commit: fce785fadfd6abf34e775c2793e49a37e1c426d5 [76/131] zx29 qspi driver
config: sparc64-allmodconfig (https://download.01.org/0day-ci/archive/20260903/202609030957.sHim3B0q-lkp@intel.com/config)
compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project 87f0227cb60147a26a1eeb4fb06e3b505e9c7261)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260903/202609030957.sHim3B0q-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/202609030957.sHim3B0q-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> drivers/spi/spi-zx.c:477:17: warning: implicit conversion from 'unsigned long' to 'u32' (aka 'unsigned int') changes value from 18446744073709551614 to 4294967294 [-Wconstant-conversion]
477 | writel_relaxed(~ZX_QSPI_EN, qspi->io_base + ZX_QSPI_EN_REG);
| ~~~~~~~~~~~~~~ ^~~~~~~~~~~
1 warning generated.
vim +477 drivers/spi/spi-zx.c
473
474 static void zx_qspi_remove(struct platform_device *pdev)
475 {
476 struct zx_qspi *qspi = platform_get_drvdata(pdev);
> 477 writel_relaxed(~ZX_QSPI_EN, qspi->io_base + ZX_QSPI_EN_REG);
478 }
479
--
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-09-03 2:06 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-03 2:05 [stefandoesinger-zx297520:dlink 76/131] drivers/spi/spi-zx.c:477:17: warning: implicit conversion from 'unsigned long' to 'u32' (aka 'unsigned int') changes value from 18446744073709551614 to 4294967294 kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox