public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] staging: ralink-gdma: Convert unsigned to unsigned int
@ 2019-03-23 11:34 Bharath Vedartham
  2019-03-24  8:58 ` Greg KH
  0 siblings, 1 reply; 5+ messages in thread
From: Bharath Vedartham @ 2019-03-23 11:34 UTC (permalink / raw)
  To: gregkh, christian, neil; +Cc: devel, linux-kernel

Fix the checkpatch.pl warning: "Use unsigned int instead of unsigned".

Signed-off-by: Bharath Vedartham <linux.bhar@gmail.com>
---
 drivers/staging/ralink-gdma/ralink-gdma.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/ralink-gdma/ralink-gdma.c b/drivers/staging/ralink-gdma/ralink-gdma.c
index 0b831f8..523c39e 100644
--- a/drivers/staging/ralink-gdma/ralink-gdma.c
+++ b/drivers/staging/ralink-gdma/ralink-gdma.c
@@ -162,7 +162,7 @@ static inline u32 gdma_dma_read(struct gdma_dma_dev *dma_dev, unsigned int reg)
 	return readl(dma_dev->base + reg);
 }
 
-static inline void gdma_dma_write(struct gdma_dma_dev *dma_dev, unsigned reg, u32 val)
+static inline void gdma_dma_write(struct gdma_dma_dev *dma_dev, unsigned int reg, u32 val)
 {
 	writel(val, dma_dev->base + reg);
 }
-- 
2.7.4


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

end of thread, other threads:[~2019-03-24 12:11 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-03-23 11:34 [PATCH] staging: ralink-gdma: Convert unsigned to unsigned int Bharath Vedartham
2019-03-24  8:58 ` Greg KH
2019-03-24  9:37   ` Bharath Vedartham
2019-03-24 12:11     ` Greg KH
2019-03-24  9:49   ` Bharath Vedartham

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox