public inbox for linux-arm-kernel@lists.infradead.org 
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel•com>
To: Frank.Li@oss•nxp.com, Vinod Koul <vkoul@kernel•org>,
	Dong Aisheng <aisheng.dong@nxp•com>,
	Andi Shyti <andi.shyti@kernel•org>,
	Shawn Guo <shawnguo@kernel•org>,
	Sascha Hauer <s.hauer@pengutronix•de>,
	Pengutronix Kernel Team <kernel@pengutronix•de>,
	Fabio Estevam <festevam@gmail•com>
Cc: llvm@lists•linux.dev, oe-kbuild-all@lists•linux.dev,
	dmaengine@vger•kernel.org, linux-kernel@vger•kernel.org,
	linux-i2c@vger•kernel.org, imx@lists•linux.dev,
	linux-arm-kernel@lists•infradead.org, carlos.song@nxp•com,
	Frank Li <Frank.Li@nxp•com>
Subject: Re: [PATCH v2 2/2] i2c: imx-lpi2c: use dmaengine_prep_submit() to simple code
Date: Wed, 27 May 2026 00:22:41 +0200	[thread overview]
Message-ID: <202605270007.xFkhAWbC-lkp@intel.com> (raw)
In-Reply-To: <20260522-dma_prep_submit-v2-2-7a87a5a29525@nxp.com>

Hi Frank,

kernel test robot noticed the following build errors:

[auto build test ERROR on 8f0b4cce4481fb22653697cced8d0d04027cb1e8]

url:    https://github.com/intel-lab-lkp/linux/commits/Frank-Li-oss-nxp-com/dmaengine-Add-helper-dmaengine_prep_submit_slave_single/20260523-041812
base:   8f0b4cce4481fb22653697cced8d0d04027cb1e8
patch link:    https://lore.kernel.org/r/20260522-dma_prep_submit-v2-2-7a87a5a29525%40nxp.com
patch subject: [PATCH v2 2/2] i2c: imx-lpi2c: use dmaengine_prep_submit() to simple code
config: x86_64-kexec (https://download.01.org/0day-ci/archive/20260527/202605270007.xFkhAWbC-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/20260527/202605270007.xFkhAWbC-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/202605270007.xFkhAWbC-lkp@intel.com/

All errors (new ones prefixed by >>):

   In file included from net/core/dev.c:124:
>> include/linux/dmaengine.h:1588:48: error: expected ')'
    1588 |                                    dma_async_tx_callback cb, void *cb_param;
         |                                                                            ^
   include/linux/dmaengine.h:1587:35: note: to match this '('
    1587 | dmaengine_prep_submit_slave_single(struct dma_chan *chan,
         |                                   ^
>> include/linux/dmaengine.h:1587:1: error: conflicting types for 'dmaengine_prep_submit_slave_single'
    1587 | dmaengine_prep_submit_slave_single(struct dma_chan *chan,
         | ^
   include/linux/dmaengine.h:994:1: note: previous declaration is here
     994 | dmaengine_prep_submit_slave_single(struct dma_chan *chan,
         | ^
>> include/linux/dmaengine.h:1589:24: error: redefinition of 'size_t' as different kind of symbol
    1589 |                                    dma_addr_t buf, size_t len,
         |                                                    ^
   include/linux/types.h:62:26: note: previous definition is here
      62 | typedef __kernel_size_t         size_t;
         |                                 ^
   In file included from net/core/dev.c:124:
>> include/linux/dmaengine.h:1589:30: error: expected ';' after top level declarator
    1589 |                                    dma_addr_t buf, size_t len,
         |                                                          ^
         |                                                          ;
>> include/linux/dmaengine.h:1592:1: error: expected identifier or '('
    1592 | {
         | ^
   5 errors generated.


vim +1588 include/linux/dmaengine.h

  1585	
  1586	static inline dma_cookie_t
> 1587	dmaengine_prep_submit_slave_single(struct dma_chan *chan,
> 1588					   dma_async_tx_callback cb, void *cb_param;
> 1589					   dma_addr_t buf, size_t len,
  1590					   enum dma_transfer_direction dir,
  1591					   unsigned long flags);
> 1592	{
  1593		return -ENODEV;
  1594	}
  1595	#endif
  1596	

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki


      reply	other threads:[~2026-05-26 22:23 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-05-22 20:13 [PATCH v2 0/2] dmaengine: add helper macro dmaengine_prep_submit() Frank.Li
2026-05-22 20:13 ` [PATCH v2 1/2] dmaengine: Add helper dmaengine_prep_submit_slave_single() Frank.Li
2026-05-22 20:13 ` [PATCH v2 2/2] i2c: imx-lpi2c: use dmaengine_prep_submit() to simple code Frank.Li
2026-05-26 22:22   ` kernel test robot [this message]

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=202605270007.xFkhAWbC-lkp@intel.com \
    --to=lkp@intel$(echo .)com \
    --cc=Frank.Li@nxp$(echo .)com \
    --cc=Frank.Li@oss$(echo .)nxp.com \
    --cc=aisheng.dong@nxp$(echo .)com \
    --cc=andi.shyti@kernel$(echo .)org \
    --cc=carlos.song@nxp$(echo .)com \
    --cc=dmaengine@vger$(echo .)kernel.org \
    --cc=festevam@gmail$(echo .)com \
    --cc=imx@lists$(echo .)linux.dev \
    --cc=kernel@pengutronix$(echo .)de \
    --cc=linux-arm-kernel@lists$(echo .)infradead.org \
    --cc=linux-i2c@vger$(echo .)kernel.org \
    --cc=linux-kernel@vger$(echo .)kernel.org \
    --cc=llvm@lists$(echo .)linux.dev \
    --cc=oe-kbuild-all@lists$(echo .)linux.dev \
    --cc=s.hauer@pengutronix$(echo .)de \
    --cc=shawnguo@kernel$(echo .)org \
    --cc=vkoul@kernel$(echo .)org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox