* [PATCH 0/2] dmaengine: at_hdmac: enable compile testing
@ 2025-11-17 16:16 Johan Hovold
2025-11-17 16:16 ` [PATCH 1/2] dmaengine: at_hdmac: fix size_t format specifier mismatches Johan Hovold
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: Johan Hovold @ 2025-11-17 16:16 UTC (permalink / raw)
To: Vinod Koul, Ludovic Desroches; +Cc: dmaengine, linux-kernel, Johan Hovold
There seems to be nothing preventing the driver from being compile
tested so enable that for wider build coverage.
Johan Hovold (2):
dmaengine: at_hdmac: fix size_t format specifier mismatches
dmaengine: at_hdmac: enable compile testing
drivers/dma/Kconfig | 2 +-
drivers/dma/at_hdmac.c | 6 +++---
2 files changed, 4 insertions(+), 4 deletions(-)
--
2.51.0
^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH 1/2] dmaengine: at_hdmac: fix size_t format specifier mismatches
2025-11-17 16:16 [PATCH 0/2] dmaengine: at_hdmac: enable compile testing Johan Hovold
@ 2025-11-17 16:16 ` Johan Hovold
2025-11-17 16:16 ` [PATCH 2/2] dmaengine: at_hdmac: enable compile testing Johan Hovold
2025-12-23 11:00 ` [PATCH 0/2] " Vinod Koul
2 siblings, 0 replies; 5+ messages in thread
From: Johan Hovold @ 2025-11-17 16:16 UTC (permalink / raw)
To: Vinod Koul, Ludovic Desroches; +Cc: dmaengine, linux-kernel, Johan Hovold
Fix printk size_t format specifiers which did not match their arguments
to allow compile-testing on 64-bit hosts without warnings.
Signed-off-by: Johan Hovold <johan@kernel.org>
---
drivers/dma/at_hdmac.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/dma/at_hdmac.c b/drivers/dma/at_hdmac.c
index dffe5becd6c3..c394bb00098b 100644
--- a/drivers/dma/at_hdmac.c
+++ b/drivers/dma/at_hdmac.c
@@ -887,7 +887,7 @@ atc_prep_dma_interleaved(struct dma_chan *chan,
first = xt->sgl;
dev_info(chan2dev(chan),
- "%s: src=%pad, dest=%pad, numf=%d, frame_size=%d, flags=0x%lx\n",
+ "%s: src=%pad, dest=%pad, numf=%zu, frame_size=%zu, flags=0x%lx\n",
__func__, &xt->src_start, &xt->dst_start, xt->numf,
xt->frame_size, flags);
@@ -1174,7 +1174,7 @@ atc_prep_dma_memset_sg(struct dma_chan *chan,
int i;
int ret;
- dev_vdbg(chan2dev(chan), "%s: v0x%x l0x%zx f0x%lx\n", __func__,
+ dev_vdbg(chan2dev(chan), "%s: v0x%x l0x%ux f0x%lx\n", __func__,
value, sg_len, flags);
if (unlikely(!sgl || !sg_len)) {
@@ -1503,7 +1503,7 @@ atc_prep_dma_cyclic(struct dma_chan *chan, dma_addr_t buf_addr, size_t buf_len,
unsigned int periods = buf_len / period_len;
unsigned int i;
- dev_vdbg(chan2dev(chan), "prep_dma_cyclic: %s buf@%pad - %d (%d/%d)\n",
+ dev_vdbg(chan2dev(chan), "prep_dma_cyclic: %s buf@%pad - %d (%zu/%zu)\n",
direction == DMA_MEM_TO_DEV ? "TO DEVICE" : "FROM DEVICE",
&buf_addr,
periods, buf_len, period_len);
--
2.51.0
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [PATCH 2/2] dmaengine: at_hdmac: enable compile testing
2025-11-17 16:16 [PATCH 0/2] dmaengine: at_hdmac: enable compile testing Johan Hovold
2025-11-17 16:16 ` [PATCH 1/2] dmaengine: at_hdmac: fix size_t format specifier mismatches Johan Hovold
@ 2025-11-17 16:16 ` Johan Hovold
2025-12-23 11:00 ` [PATCH 0/2] " Vinod Koul
2 siblings, 0 replies; 5+ messages in thread
From: Johan Hovold @ 2025-11-17 16:16 UTC (permalink / raw)
To: Vinod Koul, Ludovic Desroches; +Cc: dmaengine, linux-kernel, Johan Hovold
There seems to be nothing preventing the driver from being compile
tested so enable that for wider build coverage.
Signed-off-by: Johan Hovold <johan@kernel.org>
---
drivers/dma/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/dma/Kconfig b/drivers/dma/Kconfig
index cb01e01a054a..115e7f2a9988 100644
--- a/drivers/dma/Kconfig
+++ b/drivers/dma/Kconfig
@@ -102,7 +102,7 @@ config ARM_DMA350
config AT_HDMAC
tristate "Atmel AHB DMA support"
- depends on ARCH_AT91
+ depends on ARCH_AT91 || COMPILE_TEST
select DMA_ENGINE
select DMA_VIRTUAL_CHANNELS
help
--
2.51.0
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH 0/2] dmaengine: at_hdmac: enable compile testing
2025-11-17 16:16 [PATCH 0/2] dmaengine: at_hdmac: enable compile testing Johan Hovold
2025-11-17 16:16 ` [PATCH 1/2] dmaengine: at_hdmac: fix size_t format specifier mismatches Johan Hovold
2025-11-17 16:16 ` [PATCH 2/2] dmaengine: at_hdmac: enable compile testing Johan Hovold
@ 2025-12-23 11:00 ` Vinod Koul
2025-12-23 11:27 ` Johan Hovold
2 siblings, 1 reply; 5+ messages in thread
From: Vinod Koul @ 2025-12-23 11:00 UTC (permalink / raw)
To: Johan Hovold; +Cc: Ludovic Desroches, dmaengine, linux-kernel
On 17-11-25, 17:16, Johan Hovold wrote:
> There seems to be nothing preventing the driver from being compile
> tested so enable that for wider build coverage.
Sorry this fails for me, can you please rebase
--
~Vinod
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH 0/2] dmaengine: at_hdmac: enable compile testing
2025-12-23 11:00 ` [PATCH 0/2] " Vinod Koul
@ 2025-12-23 11:27 ` Johan Hovold
0 siblings, 0 replies; 5+ messages in thread
From: Johan Hovold @ 2025-12-23 11:27 UTC (permalink / raw)
To: Vinod Koul; +Cc: Ludovic Desroches, dmaengine, linux-kernel
On Tue, Dec 23, 2025 at 04:30:02PM +0530, Vinod Koul wrote:
> On 17-11-25, 17:16, Johan Hovold wrote:
> > There seems to be nothing preventing the driver from being compile
> > tested so enable that for wider build coverage.
>
> Sorry this fails for me, can you please rebase
Apparently someone sent a corresponding series a couple of weeks before
me which is now in 6.19-rc1. So please disregard this one.
Johan
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2025-12-23 11:28 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-11-17 16:16 [PATCH 0/2] dmaengine: at_hdmac: enable compile testing Johan Hovold
2025-11-17 16:16 ` [PATCH 1/2] dmaengine: at_hdmac: fix size_t format specifier mismatches Johan Hovold
2025-11-17 16:16 ` [PATCH 2/2] dmaengine: at_hdmac: enable compile testing Johan Hovold
2025-12-23 11:00 ` [PATCH 0/2] " Vinod Koul
2025-12-23 11:27 ` Johan Hovold
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).