[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <202506050903.jk5UWok1-lkp@intel.com>
Date: Thu, 5 Jun 2025 10:05:06 +0800
From: kernel test robot <lkp@...el.com>
To: Jorge Marques <jorge.marques@...log.com>,
Alexandre Belloni <alexandre.belloni@...tlin.com>,
Frank Li <Frank.Li@....com>, Rob Herring <robh@...nel.org>,
Krzysztof Kozlowski <krzk@...nel.org>,
Conor Dooley <conor+dt@...nel.org>
Cc: oe-kbuild-all@...ts.linux.dev, linux-i3c@...ts.infradead.org,
devicetree@...r.kernel.org, linux-kernel@...r.kernel.org,
Jorge Marques <jorge.marques@...log.com>
Subject: Re: [PATCH 2/2] i3c: master: Add driver for Analog Devices I3C
Controller IP
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@...el.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
Powered by blists - more mailing lists