From: sashiko-bot@kernel.org
To: Frank.Li@oss.nxp.com,
"open list:DMA GENERIC OFFLOAD ENGINE SUBSYSTEM"
<dmaengine@vger.kernel.org>
Cc: imx@lists.linux.dev, vkoul@kernel.org, Frank.Li@kernel.org
Subject: Re: [PATCH 1/1] dma: ppc4xx: adma: remove unused async_tx.h include
Date: Wed, 14 Oct 2026 20:18:18 +0000 [thread overview]
Message-ID: <sashiko-outbox-171853@kernel.org> (raw)
In-Reply-To: <20261014201221.1806634-1-Frank.Li@oss.nxp.com>
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Low] dma: ppc4xx: missing prototype for ppc440spe_async_tx_find_best_channel()
--
commit 9b901f64606c940ade9457f8242fc8c04d2f5fa6
Author: Frank Li <Frank.Li@nxp.com>
dma: ppc4xx: adma: remove unused async_tx.h include
The async_tx.h header is not directly used in adma.c; all required
types and functions come from dmaengine.h which is already included.
Remove the redundant include.
> Reduce async_tx.h user to prepare deprecate aysnc_tx framework.
This isn't a bug, but there is a typo (aysnc_tx) in the commit message.
> diff --git a/drivers/dma/ppc4xx/adma.c b/drivers/dma/ppc4xx/adma.c
> index bcc54d584e2bf..05041b99581a1 100644
> --- a/drivers/dma/ppc4xx/adma.c
> +++ b/drivers/dma/ppc4xx/adma.c
> @@ -17,7 +17,6 @@
>
> #include <linux/init.h>
> #include <linux/module.h>
> -#include <linux/async_tx.h>
[Severity: Low]
Does removing this include cause a missing prototype warning for
ppc440spe_async_tx_find_best_channel()?
This function is globally defined and exported via EXPORT_SYMBOL_GPL() later
in this file, but its only prototype declaration appears to be in
arch/powerpc/include/asm/async_tx.h, which was previously pulled in by this
include.
Without a matching prior prototype declaration, this could trigger a build
warning (-Wmissing-prototypes) when compiling drivers/dma/ppc4xx/adma.c.
> #include <linux/delay.h>
> #include <linux/dma-mapping.h>
> #include <linux/spinlock.h>
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261014201221.1806634-1-Frank.Li@oss.nxp.com?part=1
next prev parent reply other threads:[~2026-10-14 20:18 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-14 20:12 [PATCH 1/1] dma: ppc4xx: adma: remove unused async_tx.h include Frank.Li
2026-10-14 20:18 ` sashiko-bot [this message]
2026-10-14 20:45 ` Frank Li
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=sashiko-outbox-171853@kernel.org \
--to=sashiko-bot@kernel.org \
--cc=Frank.Li@kernel.org \
--cc=Frank.Li@oss.nxp.com \
--cc=dmaengine@vger.kernel.org \
--cc=imx@lists.linux.dev \
--cc=sashiko-reviews@lists.linux.dev \
--cc=vkoul@kernel.org \
/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