projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6567584
)
dmaengine: xilinx: dpdma: Use kernel type u32 over uint32_t
author
Michal Simek
<michal.simek@xilinx.com>
Wed, 23 Jun 2021 11:05:39 +0000
(13:05 +0200)
committer
Vinod Koul
<vkoul@kernel.org>
Thu, 24 Jun 2021 11:09:51 +0000
(16:39 +0530)
Use u32 kernel type instead of uint32_t. Issue is reported by
checkpatch.pl --strict.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Link:
https://lore.kernel.org/r/9569008794d519b487348bfeafbfd76c5da5755e.1624446336.git.michal.simek@xilinx.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/xilinx/xilinx_dpdma.c
patch
|
blob
|
history
diff --git
a/drivers/dma/xilinx/xilinx_dpdma.c
b/drivers/dma/xilinx/xilinx_dpdma.c
index
7fd62fd
..
f37324b
100644
(file)
--- a/
drivers/dma/xilinx/xilinx_dpdma.c
+++ b/
drivers/dma/xilinx/xilinx_dpdma.c
@@
-1597,7
+1597,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;
- u
int32_t
chan_id = dma_spec->args[0];
+ u
32
chan_id = dma_spec->args[0];
if (chan_id >= ARRAY_SIZE(xdev->chan))
return NULL;