[PATCH 2/3] dma: amlogic: Add general DMA driver for SoCs
kernel test robot
lkp at intel.com
Sat Dec 20 10:21:44 PST 2025
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 at intel.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
More information about the linux-amlogic
mailing list