[PATCH 2/2] i3c: master: Add driver for Analog Devices I3C Controller IP
kernel test robot
lkp at intel.com
Wed Jun 4 19:05:06 PDT 2025
Hi Jorge,
kernel test robot noticed the following build warnings:
[auto build test WARNING on 00286d7d643d3c98e48d9cc3a9f471b37154f462]
url: https://github.com/intel-lab-lkp/linux/commits/Jorge-Marques/dt-bindings-i3c-Add-adi-i3c-master/20250604-235108
base: 00286d7d643d3c98e48d9cc3a9f471b37154f462
patch link: https://lore.kernel.org/r/20250604-adi-i3c-master-v1-2-0488e80dafcb%40analog.com
patch subject: [PATCH 2/2] i3c: master: Add driver for Analog Devices I3C Controller IP
config: loongarch-allyesconfig (https://download.01.org/0day-ci/archive/20250605/202506050903.jk5UWok1-lkp@intel.com/config)
compiler: loongarch64-linux-gcc (GCC) 15.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250605/202506050903.jk5UWok1-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 at intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202506050903.jk5UWok1-lkp@intel.com/
All warnings (new ones prefixed by >>):
drivers/i3c/master/adi-i3c-master.c: In function 'adi_i3c_master_disable':
>> drivers/i3c/master/adi-i3c-master.c:180:16: warning: conversion from 'long unsigned int' to 'u32' {aka 'unsigned int'} changes value from '18446744073709551615' to '4294967295' [-Woverflow]
180 | writel(~REG_IBI_CONFIG_LISTEN | ~REG_IBI_CONFIG_ENABLE,
In file included from include/linux/bits.h:6,
from include/linux/bitops.h:6,
from drivers/i3c/master/adi-i3c-master.c:8:
drivers/i3c/master/adi-i3c-master.c: In function 'adi_i3c_master_bus_init':
>> include/vdso/bits.h:7:33: warning: conversion from 'long unsigned int' to 'u32' {aka 'unsigned int'} changes value from '18446744073709551614' to '4294967294' [-Woverflow]
7 | #define BIT(nr) (UL(1) << (nr))
| ^
drivers/i3c/master/adi-i3c-master.c:72:41: note: in expansion of macro 'BIT'
72 | #define REG_IBI_CONFIG_LISTEN BIT(1)
| ^~~
drivers/i3c/master/adi-i3c-master.c:704:16: note: in expansion of macro 'REG_IBI_CONFIG_LISTEN'
704 | writel(REG_IBI_CONFIG_LISTEN | ~REG_IBI_CONFIG_ENABLE,
| ^~~~~~~~~~~~~~~~~~~~~
drivers/i3c/master/adi-i3c-master.c: In function 'adi_i3c_master_disable_ibi':
>> include/vdso/bits.h:7:33: warning: conversion from 'long unsigned int' to 'u32' {aka 'unsigned int'} changes value from '18446744073709551614' to '4294967294' [-Woverflow]
7 | #define BIT(nr) (UL(1) << (nr))
| ^
drivers/i3c/master/adi-i3c-master.c:72:41: note: in expansion of macro 'BIT'
72 | #define REG_IBI_CONFIG_LISTEN BIT(1)
| ^~~
drivers/i3c/master/adi-i3c-master.c:859:24: note: in expansion of macro 'REG_IBI_CONFIG_LISTEN'
859 | writel(REG_IBI_CONFIG_LISTEN | ~REG_IBI_CONFIG_ENABLE,
| ^~~~~~~~~~~~~~~~~~~~~
vim +180 drivers/i3c/master/adi-i3c-master.c
177
178 static int adi_i3c_master_disable(struct adi_i3c_master *master)
179 {
> 180 writel(~REG_IBI_CONFIG_LISTEN | ~REG_IBI_CONFIG_ENABLE,
181 master->regs + REG_IBI_CONFIG);
182
183 return 0;
184 }
185
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
More information about the linux-i3c
mailing list