[stefandoesinger-zx297520:dlink 70/130] drivers/spi/spi-zx.c:477:24: warning: conversion from 'long unsigned int' to 'u32' {aka 'unsigned int'} changes value from '18446744073709551614' to '4294967294'
kernel test robot <[email protected]> Tue, 28 Jul 2026 17:28:52 +0800
| Newsgroups | dev.linux.lists.oe-kbuild-all |
|---|---|
| Message-ID | <[email protected]> |
tree: https://gitlab.com/stefandoesinger/zx297520-kernel dlink head: 3d8eb1c72ad9937912307a2d4f3de812b572b9b3 commit: b3c8f8b4509d1bf92e5421480bedd0ade293d382 [70/130] zx29 qspi driver config: alpha-allyesconfig (https://download.01.org/0day-ci/archive/20260728/[email protected]/config) compiler: alpha-linux-gcc (GCC) 16.1.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260728/[email protected]/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 <[email protected]> | Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/ All warnings (new ones prefixed by >>): drivers/spi/spi-zx.c: In function 'zx_qspi_remove': >> drivers/spi/spi-zx.c:477:24: warning: conversion from 'long unsigned int' to 'u32' {aka 'unsigned int'} changes value from '18446744073709551614' to '4294967294' [-Woverflow] 477 | writel_relaxed(~ZX_QSPI_EN, qspi->io_base + ZX_QSPI_EN_REG); 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