Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

dmaengine: at_hdmac: fix formats under 64-bit

size_t formats under 32-bit evaluate to the same thing and GCC does not
warn against it. Not the case with 64-bit.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
Reviewed-by: Eugen Hristev <eugen.hristev@linaro.org>
Link: https://patch.msgid.link/20251106022405.85604-2-rosenp@gmail.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>

authored by

Rosen Penev and committed by
Vinod Koul
938eae91 39803517

+3 -3
+3 -3
drivers/dma/at_hdmac.c
··· 887 887 first = xt->sgl; 888 888 889 889 dev_info(chan2dev(chan), 890 - "%s: src=%pad, dest=%pad, numf=%d, frame_size=%d, flags=0x%lx\n", 890 + "%s: src=%pad, dest=%pad, numf=%zu, frame_size=%zu, flags=0x%lx\n", 891 891 __func__, &xt->src_start, &xt->dst_start, xt->numf, 892 892 xt->frame_size, flags); 893 893 ··· 1174 1174 int i; 1175 1175 int ret; 1176 1176 1177 - dev_vdbg(chan2dev(chan), "%s: v0x%x l0x%zx f0x%lx\n", __func__, 1177 + dev_vdbg(chan2dev(chan), "%s: v0x%x l0x%x f0x%lx\n", __func__, 1178 1178 value, sg_len, flags); 1179 1179 1180 1180 if (unlikely(!sgl || !sg_len)) { ··· 1503 1503 unsigned int periods = buf_len / period_len; 1504 1504 unsigned int i; 1505 1505 1506 - dev_vdbg(chan2dev(chan), "prep_dma_cyclic: %s buf@%pad - %d (%d/%d)\n", 1506 + dev_vdbg(chan2dev(chan), "prep_dma_cyclic: %s buf@%pad - %d (%zu/%zu)\n", 1507 1507 direction == DMA_MEM_TO_DEV ? "TO DEVICE" : "FROM DEVICE", 1508 1508 &buf_addr, 1509 1509 periods, buf_len, period_len);