[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <202512210111.1UZxHivt-lkp@intel.com>
Date: Sun, 21 Dec 2025 02:21:44 +0800
From: kernel test robot <lkp@...el.com>
To: Xianwei Zhao via B4 Relay <devnull+xianwei.zhao.amlogic.com@...nel.org>,
Vinod Koul <vkoul@...nel.org>, Rob Herring <robh@...nel.org>,
Krzysztof Kozlowski <krzk@...nel.org>,
Conor Dooley <conor+dt@...nel.org>, Kees Cook <kees@...nel.org>,
"Gustavo A. R. Silva" <gustavoars@...nel.org>
Cc: oe-kbuild-all@...ts.linux.dev, linux-amlogic@...ts.infradead.org,
dmaengine@...r.kernel.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-hardening@...r.kernel.org,
Xianwei Zhao <xianwei.zhao@...ogic.com>
Subject: Re: [PATCH 2/3] dma: amlogic: Add general DMA driver for SoCs
Hi Xianwei,
kernel test robot noticed the following build errors:
[auto build test ERROR on 8f0b4cce4481fb22653697cced8d0d04027cb1e8]
url: https://github.com/intel-lab-lkp/linux/commits/Xianwei-Zhao-via-B4-Relay/dt-bindings-dma-Add-Amlogic-general-DMA/20251216-163238
base: 8f0b4cce4481fb22653697cced8d0d04027cb1e8
patch link: https://lore.kernel.org/r/20251216-amlogic-dma-v1-2-e289e57e96a7%40amlogic.com
patch subject: [PATCH 2/3] dma: amlogic: Add general DMA driver for SoCs
config: arm-allyesconfig (https://download.01.org/0day-ci/archive/20251221/202512210111.1UZxHivt-lkp@intel.com/config)
compiler: arm-linux-gnueabi-gcc (GCC) 15.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251221/202512210111.1UZxHivt-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/202512210111.1UZxHivt-lkp@intel.com/
All errors (new ones prefixed by >>):
>> drivers/dma/amlogic-dma.c:132:41: error: argument 'chan_ns' to the 'counted_by' attribute is not a field declaration in the same structure as 'aml_chans'
132 | struct aml_dma_chan aml_chans[]__counted_by(chan_ns);
| ^~~~~~~~~
vim +132 drivers/dma/amlogic-dma.c
120
121 struct aml_dma_dev {
122 struct dma_device dma_device;
123 void __iomem *base;
124 struct regmap *regmap;
125 struct clk *clk;
126 int irq;
127 struct platform_device *pdev;
128 struct aml_dma_chan *aml_rch[MAX_CHAN_ID];
129 struct aml_dma_chan *aml_wch[MAX_CHAN_ID];
130 unsigned int chan_nr;
131 unsigned int chan_used;
> 132 struct aml_dma_chan aml_chans[]__counted_by(chan_ns);
133 };
134
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
Powered by blists - more mailing lists