From: kernel test robot <lkp@intel.com>
To: Manikanta Guntupalli <manikanta.guntupalli@amd.com>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, git@amd.com,
Michal Simek <monstr@monstr.eu>, Frank Li <Frank.Li@nxp.com>
Subject: [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
Date: Sun, 30 Aug 2026 06:43:58 +0800 [thread overview]
Message-ID: <202608300626.3C54RrZP-lkp@intel.com> (raw)
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
reply other threads:[~2026-08-29 22:44 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202608300626.3C54RrZP-lkp@intel.com \
--to=lkp@intel.com \
--cc=Frank.Li@nxp.com \
--cc=git@amd.com \
--cc=llvm@lists.linux.dev \
--cc=manikanta.guntupalli@amd.com \
--cc=monstr@monstr.eu \
--cc=oe-kbuild-all@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.