dmaengine.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] dmaengine: xilinx: dpdma: Use kernel type u32 over uint32_t
@ 2021-06-23 11:05 Michal Simek
  2021-06-23 12:58 ` Laurent Pinchart
  2021-06-24 11:10 ` Vinod Koul
  0 siblings, 2 replies; 3+ messages in thread
From: Michal Simek @ 2021-06-23 11:05 UTC (permalink / raw)
  To: linux-kernel, monstr, michal.simek, git
  Cc: Hyun Kwon, Laurent Pinchart, Vinod Koul, dmaengine, linux-arm-kernel

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

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
---

 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


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] dmaengine: xilinx: dpdma: Use kernel type u32 over uint32_t
  2021-06-23 11:05 [PATCH] dmaengine: xilinx: dpdma: Use kernel type u32 over uint32_t Michal Simek
@ 2021-06-23 12:58 ` Laurent Pinchart
  2021-06-24 11:10 ` Vinod Koul
  1 sibling, 0 replies; 3+ messages in thread
From: Laurent Pinchart @ 2021-06-23 12:58 UTC (permalink / raw)
  To: Michal Simek
  Cc: linux-kernel, monstr, git, Hyun Kwon, Vinod Koul, dmaengine,
	linux-arm-kernel

Hi Michal,

Thank you for the patch.

On Wed, Jun 23, 2021 at 01:05:39PM +0200, Michal Simek wrote:
> 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>

> ---
> 
>  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;

-- 
Regards,

Laurent Pinchart

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] dmaengine: xilinx: dpdma: Use kernel type u32 over uint32_t
  2021-06-23 11:05 [PATCH] dmaengine: xilinx: dpdma: Use kernel type u32 over uint32_t Michal Simek
  2021-06-23 12:58 ` Laurent Pinchart
@ 2021-06-24 11:10 ` Vinod Koul
  1 sibling, 0 replies; 3+ messages in thread
From: Vinod Koul @ 2021-06-24 11:10 UTC (permalink / raw)
  To: Michal Simek
  Cc: linux-kernel, monstr, git, Hyun Kwon, Laurent Pinchart,
	dmaengine, linux-arm-kernel

On 23-06-21, 13:05, Michal Simek wrote:
> Use u32 kernel type instead of uint32_t. Issue is reported by
> checkpatch.pl --strict.

Applied, thanks

-- 
~Vinod

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-06-24 11:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-23 11:05 [PATCH] dmaengine: xilinx: dpdma: Use kernel type u32 over uint32_t Michal Simek
2021-06-23 12:58 ` Laurent Pinchart
2021-06-24 11:10 ` Vinod Koul

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).