* [xilinx-xlnx:xlnx_rebase_v6.18_LTS 493/1141] drivers/i3c/master/adi-i3c-master.c:138:53: error: too few arguments to function call, expected 4, have 3
@ 2026-08-29 22:43 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-08-29 22:43 UTC (permalink / raw)
To: Manikanta Guntupalli; +Cc: llvm, oe-kbuild-all, git, Michal Simek, Frank Li
tree: https://github.com/Xilinx/linux-xlnx xlnx_rebase_v6.18_LTS
head: f383cb113baa454c4d49e574c4c3e56e76d33dbc
commit: 0416cf605b2c4987b4721b145b0cc001cb4cdf3a [493/1141] i3c: master: Add endianness support for i3c_readl_fifo() and i3c_writel_fifo()
config: loongarch-allmodconfig (https://download.01.org/0day-ci/archive/20260830/202608300626.3C54RrZP-lkp@intel.com/config)
compiler: clang version 19.1.7 (https://github.com/llvm/llvm-project cd708029e0b2869e80abe31ddb175f7c35361f90)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260830/202608300626.3C54RrZP-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/202608300626.3C54RrZP-lkp@intel.com/
All errors (new ones prefixed by >>):
>> drivers/i3c/master/adi-i3c-master.c:138:53: error: too few arguments to function call, expected 4, have 3
138 | i3c_writel_fifo(master->regs + REG_SDO_FIFO, buf, m);
| ~~~~~~~~~~~~~~~ ^
drivers/i3c/master/../internals.h:39:20: note: 'i3c_writel_fifo' declared here
39 | static inline void i3c_writel_fifo(void __iomem *addr, const void *buf,
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
40 | int nbytes, enum i3c_fifo_endian endian)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/i3c/master/adi-i3c-master.c:144:57: error: too few arguments to function call, expected 4, have 3
144 | i3c_readl_fifo(master->regs + REG_SDI_FIFO, buf, nbytes);
| ~~~~~~~~~~~~~~ ^
drivers/i3c/master/../internals.h:66:20: note: 'i3c_readl_fifo' declared here
66 | static inline void i3c_readl_fifo(const void __iomem *addr, void *buf,
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
67 | int nbytes, enum i3c_fifo_endian endian)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2 errors generated.
--
>> drivers/i3c/master/renesas-i3c.c:838:62: error: too few arguments to function call, expected 4, have 3
838 | i3c_writel_fifo(i3c->regs + NTDTBP0, cmd->tx_buf, cmd->len);
| ~~~~~~~~~~~~~~~ ^
drivers/i3c/master/../internals.h:39:20: note: 'i3c_writel_fifo' declared here
39 | static inline void i3c_writel_fifo(void __iomem *addr, const void *buf,
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
40 | int nbytes, enum i3c_fifo_endian endian)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/i3c/master/renesas-i3c.c:1024:62: error: too few arguments to function call, expected 4, have 3
1024 | i3c_writel_fifo(i3c->regs + NTDTBP0, cmd->tx_buf, cmd->len);
| ~~~~~~~~~~~~~~~ ^
drivers/i3c/master/../internals.h:39:20: note: 'i3c_writel_fifo' declared here
39 | static inline void i3c_writel_fifo(void __iomem *addr, const void *buf,
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
40 | int nbytes, enum i3c_fifo_endian endian)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/i3c/master/renesas-i3c.c:1064:68: error: too few arguments to function call, expected 4, have 3
1064 | i3c_readl_fifo(i3c->regs + NTDTBP0, cmd->rx_buf, bytes_remaining);
| ~~~~~~~~~~~~~~ ^
drivers/i3c/master/../internals.h:66:20: note: 'i3c_readl_fifo' declared here
66 | static inline void i3c_readl_fifo(const void __iomem *addr, void *buf,
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
67 | int nbytes, enum i3c_fifo_endian endian)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/i3c/master/renesas-i3c.c:1206:63: error: too few arguments to function call, expected 4, have 3
1206 | i3c_readl_fifo(i3c->regs + NTDTBP0, cmd->rx_buf, read_bytes);
| ~~~~~~~~~~~~~~ ^
drivers/i3c/master/../internals.h:66:20: note: 'i3c_readl_fifo' declared here
66 | static inline void i3c_readl_fifo(const void __iomem *addr, void *buf,
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
67 | int nbytes, enum i3c_fifo_endian endian)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4 errors generated.
vim +138 drivers/i3c/master/adi-i3c-master.c
a79ac2cdc91d6b Jorge Marques 2025-08-27 130
a79ac2cdc91d6b Jorge Marques 2025-08-27 131 static void adi_i3c_master_wr_to_tx_fifo(struct adi_i3c_master *master,
a79ac2cdc91d6b Jorge Marques 2025-08-27 132 const u8 *buf, unsigned int nbytes)
a79ac2cdc91d6b Jorge Marques 2025-08-27 133 {
a79ac2cdc91d6b Jorge Marques 2025-08-27 134 unsigned int n, m;
a79ac2cdc91d6b Jorge Marques 2025-08-27 135
a79ac2cdc91d6b Jorge Marques 2025-08-27 136 n = readl(master->regs + REG_SDO_FIFO_ROOM);
a79ac2cdc91d6b Jorge Marques 2025-08-27 137 m = min(n, nbytes);
8a1f3fd1a89cd1 Alexandre Belloni 2025-09-24 @138 i3c_writel_fifo(master->regs + REG_SDO_FIFO, buf, m);
a79ac2cdc91d6b Jorge Marques 2025-08-27 139 }
a79ac2cdc91d6b Jorge Marques 2025-08-27 140
:::::: The code at line 138 was first introduced by commit
:::::: 8a1f3fd1a89cd1d4acccb0181346ad212a275a69 i3c: master: adi: fix number of bytes written to fifo
:::::: TO: Alexandre Belloni <alexandre.belloni@bootlin.com>
:::::: CC: Alexandre Belloni <alexandre.belloni@bootlin.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:[~2026-08-29 22:44 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-29 22:43 [xilinx-xlnx:xlnx_rebase_v6.18_LTS 493/1141] drivers/i3c/master/adi-i3c-master.c:138:53: error: too few arguments to function call, expected 4, have 3 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