Thread (3 messages) 3 messages, 3 authors, 2021-06-24

[PATCH] dmaengine: xilinx: dpdma: Use kernel type u32 over uint32_t

STALE1929d LANDED

From: Michal Simek <hidden>
Date: 2021-06-23 11:05:49
Also in: linux-arm-kernel, lkml
Subsystem: dma generic offload engine subsystem, the rest, xilinx zynqmp dpdma driver · Maintainers: Vinod Koul, Linus Torvalds, Laurent Pinchart

Landed in mainline as 536bc5e6fdab on 2021-06-24.

Use u32 kernel type instead of uint32_t. Issue is reported by
checkpatch.pl --strict.

Signed-off-by: Michal Simek <redacted>
---

 drivers/dma/xilinx/xilinx_dpdma.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/dma/xilinx/xilinx_dpdma.c b/drivers/dma/xilinx/xilinx_dpdma.c
index 539f1a42ca72..0b67083c95d0 100644
--- a/drivers/dma/xilinx/xilinx_dpdma.c
+++ b/drivers/dma/xilinx/xilinx_dpdma.c
@@ -1600,7 +1600,7 @@ static struct dma_chan *of_dma_xilinx_xlate(struct of_phandle_args *dma_spec,
 					    struct of_dma *ofdma)
 {
 	struct xilinx_dpdma_device *xdev = ofdma->of_dma_data;
-	uint32_t chan_id = dma_spec->args[0];
+	u32 chan_id = dma_spec->args[0];
 
 	if (chan_id >= ARRAY_SIZE(xdev->chan))
 		return NULL;
-- 
2.32.0
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help