* [PATCH v2 1/1] dmaengine: ppc4xx: adma: remove unused async_tx.h include
@ 2026-10-15 15:56 Frank.Li
2026-10-15 16:03 ` sashiko-bot
0 siblings, 1 reply; 3+ messages in thread
From: Frank.Li @ 2026-10-15 15:56 UTC (permalink / raw)
To: Vinod Koul, Frank Li, Rosen Penev,
open list:DMA GENERIC OFFLOAD ENGINE SUBSYSTEM, open list
Cc: imx, Frank Li
From: Frank Li <Frank.Li@nxp.com>
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.
Signed-off-by: Frank Li <Frank.Li@nxp.com>
---
v2: change subject tags to dmaengine
---
drivers/dma/ppc4xx/adma.c | 1 -
1 file changed, 1 deletion(-)
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>
#include <linux/delay.h>
#include <linux/dma-mapping.h>
#include <linux/spinlock.h>
--
2.43.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH v2 1/1] dmaengine: ppc4xx: adma: remove unused async_tx.h include
2026-10-15 15:56 [PATCH v2 1/1] dmaengine: ppc4xx: adma: remove unused async_tx.h include Frank.Li
@ 2026-10-15 16:03 ` sashiko-bot
2026-10-15 19:30 ` Frank Li
0 siblings, 1 reply; 3+ messages in thread
From: sashiko-bot @ 2026-10-15 16:03 UTC (permalink / raw)
To: Frank.Li, open list:DMA GENERIC OFFLOAD ENGINE SUBSYSTEM
Cc: imx, vkoul, Frank.Li
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Low] dmaengine: missing prototype for ppc440spe_async_tx_find_best_channel()
--
commit 7df6c7a27c8059b2cc2b7731da8108aa6dffb69a
Author: Frank Li <Frank.Li@nxp.com>
dmaengine: ppc4xx: adma: remove unused async_tx.h include
This commit removes the async_tx.h include from adma.c to prepare for
deprecating the async_tx framework. The commit message states the include
is no longer needed and its functions come from dmaengine.h.
> 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 regression for
ppc440spe_async_tx_find_best_channel()?
The prototype for this globally exported function is defined in
arch/powerpc/include/asm/async_tx.h, which is included via
linux/async_tx.h:
include/linux/async_tx.h:
#ifdef CONFIG_ARCH_HAS_ASYNC_TX_FIND_CHANNEL
#include <asm/async_tx.h>
#else
Removing linux/async_tx.h leaves the function without a visible prototype
in adma.c, causing a build warning.
> #include <linux/delay.h>
> #include <linux/dma-mapping.h>
> #include <linux/spinlock.h>
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261015155616.3068503-1-Frank.Li@oss.nxp.com?part=1
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH v2 1/1] dmaengine: ppc4xx: adma: remove unused async_tx.h include
2026-10-15 16:03 ` sashiko-bot
@ 2026-10-15 19:30 ` Frank Li
0 siblings, 0 replies; 3+ messages in thread
From: Frank Li @ 2026-10-15 19:30 UTC (permalink / raw)
To: sashiko-reviews
Cc: open list:DMA GENERIC OFFLOAD ENGINE SUBSYSTEM, imx, vkoul,
Frank.Li
On Thu, Oct 15, 2026 at 04:03:32PM +0000, sashiko-bot@kernel.org wrote:
> Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
> - [Low] dmaengine: missing prototype for ppc440spe_async_tx_find_best_channel()
> --
>
> commit 7df6c7a27c8059b2cc2b7731da8108aa6dffb69a
> Author: Frank Li <Frank.Li@nxp.com>
>
> dmaengine: ppc4xx: adma: remove unused async_tx.h include
>
> This commit removes the async_tx.h include from adma.c to prepare for
> deprecating the async_tx framework. The commit message states the include
> is no longer needed and its functions come from dmaengine.h.
>
> > 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 regression for
> ppc440spe_async_tx_find_best_channel()?
>
> The prototype for this globally exported function is defined in
> arch/powerpc/include/asm/async_tx.h, which is included via
This is existing problem. warning is existing even without this patch.
Frank
> linux/async_tx.h:
>
> include/linux/async_tx.h:
> #ifdef CONFIG_ARCH_HAS_ASYNC_TX_FIND_CHANNEL
> #include <asm/async_tx.h>
> #else
>
> Removing linux/async_tx.h leaves the function without a visible prototype
> in adma.c, causing a build warning.
>
> > #include <linux/delay.h>
> > #include <linux/dma-mapping.h>
> > #include <linux/spinlock.h>
>
> --
> Sashiko AI review · https://sashiko.dev/#/patchset/20261015155616.3068503-1-Frank.Li@oss.nxp.com?part=1
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2026-10-15 19:30 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-15 15:56 [PATCH v2 1/1] dmaengine: ppc4xx: adma: remove unused async_tx.h include Frank.Li
2026-10-15 16:03 ` sashiko-bot
2026-10-15 19:30 ` Frank Li
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox