* [wsa:renesas/g3s/i3c 20/20] drivers/i3c/internals.h:58:9: error: passing 'const void *' to parameter of type 'void *' discards qualifiers
@ 2025-07-16 6:26 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-07-16 6:26 UTC (permalink / raw)
To: Wolfram Sang; +Cc: oe-kbuild-all
tree: https://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux.git renesas/g3s/i3c
head: 70e60a14f39358f6c1f26abab27dd4a78318e436
commit: 70e60a14f39358f6c1f26abab27dd4a78318e436 [20/20] test: try to fix lkp report
config: sparc64-randconfig-001-20250716 (https://download.01.org/0day-ci/archive/20250716/202507161417.HXyjFQVL-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/20250716/202507161417.HXyjFQVL-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/202507161417.HXyjFQVL-lkp@intel.com/
All errors (new ones prefixed by >>):
In file included from drivers/i3c/master.c:21:
>> drivers/i3c/internals.h:58:9: error: passing 'const void *' to parameter of type 'void *' discards qualifiers [-Werror,-Wincompatible-pointer-types-discards-qualifiers]
58 | readsl(addr, buf, nbytes / 4);
| ^~~~
arch/sparc/include/asm/io_64.h:265:41: note: passing argument to parameter 'port' here
265 | static inline void readsl(void __iomem *port, void *buf, unsigned long count)
| ^
1 error generated.
vim +58 drivers/i3c/internals.h
b7371ff9bdf7bd Jorge Marques 2025-06-24 48
b7371ff9bdf7bd Jorge Marques 2025-06-24 49 /**
b7371ff9bdf7bd Jorge Marques 2025-06-24 50 * i3c_readl_fifo - Read data buffer from 32bit FIFO
b7371ff9bdf7bd Jorge Marques 2025-06-24 51 * @addr: FIFO Address to read from
b7371ff9bdf7bd Jorge Marques 2025-06-24 52 * @buf: Pointer to the buffer to store read bytes
b7371ff9bdf7bd Jorge Marques 2025-06-24 53 * @nbytes: Number of bytes to read
b7371ff9bdf7bd Jorge Marques 2025-06-24 54 */
b7371ff9bdf7bd Jorge Marques 2025-06-24 55 static inline void i3c_readl_fifo(const void __iomem *addr, void *buf,
b7371ff9bdf7bd Jorge Marques 2025-06-24 56 int nbytes)
b7371ff9bdf7bd Jorge Marques 2025-06-24 57 {
b7371ff9bdf7bd Jorge Marques 2025-06-24 @58 readsl(addr, buf, nbytes / 4);
:::::: The code at line 58 was first introduced by commit
:::::: b7371ff9bdf7bd20065fbd9c487cbbdb542c7dda i3c: master: Add inline i3c_readl_fifo() and i3c_writel_fifo()
:::::: TO: Jorge Marques <jorge.marques@analog.com>
:::::: CC: Wolfram Sang <wsa+renesas@sang-engineering.com>
--
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:[~2025-07-16 6:26 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-16 6:26 [wsa:renesas/g3s/i3c 20/20] drivers/i3c/internals.h:58:9: error: passing 'const void *' to parameter of type 'void *' discards qualifiers 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;
as well as URLs for NNTP newsgroup(s).