mirror of https://lore.kernel.org/linux-amlogic/
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Xianwei Zhao via B4 Relay
	<devnull+xianwei.zhao.amlogic.com@kernel.org>,
	Vinod Koul <vkoul@kernel.org>, Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>, Kees Cook <kees@kernel.org>,
	"Gustavo A. R. Silva" <gustavoars@kernel.org>
Cc: oe-kbuild-all@lists.linux.dev, linux-amlogic@lists.infradead.org,
	dmaengine@vger.kernel.org, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org, linux-hardening@vger.kernel.org,
	Xianwei Zhao <xianwei.zhao@amlogic.com>
Subject: Re: [PATCH 2/3] dma: amlogic: Add general DMA driver for SoCs
Date: Sun, 21 Dec 2025 02:21:44 +0800	[thread overview]
Message-ID: <202512210111.1UZxHivt-lkp@intel.com> (raw)
In-Reply-To: <20251216-amlogic-dma-v1-2-e289e57e96a7@amlogic.com>

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@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

_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic

  parent reply	other threads:[~2025-12-20 18:23 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-12-16  8:03 [PATCH 0/3] Add Amlogic general DMA Xianwei Zhao via B4 Relay
2025-12-16  8:03 ` [PATCH 1/3] dt-bindings: dma: " Xianwei Zhao via B4 Relay
2025-12-16  8:45   ` Krzysztof Kozlowski
2025-12-19  1:58     ` Xianwei Zhao
2025-12-16  8:03 ` [PATCH 2/3] dma: amlogic: Add general DMA driver for SoCs Xianwei Zhao via B4 Relay
2025-12-16  8:46   ` Krzysztof Kozlowski
2025-12-19  2:04     ` Xianwei Zhao
2025-12-16  9:09   ` neil.armstrong
2025-12-19  2:35     ` Xianwei Zhao
2025-12-20 18:21   ` kernel test robot [this message]
2025-12-16  8:03 ` [PATCH 3/3] MAINTAINERS: Add an entry for Amlogic DMA driver Xianwei Zhao via B4 Relay

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=202512210111.1UZxHivt-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=devnull+xianwei.zhao.amlogic.com@kernel.org \
    --cc=dmaengine@vger.kernel.org \
    --cc=gustavoars@kernel.org \
    --cc=kees@kernel.org \
    --cc=krzk@kernel.org \
    --cc=linux-amlogic@lists.infradead.org \
    --cc=linux-hardening@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=robh@kernel.org \
    --cc=vkoul@kernel.org \
    --cc=xianwei.zhao@amlogic.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox