OSDN Git Service

Staging: mt7621_dma: Prefer unsigned int over just unsigned
authorBhanusree Pola <bhanusreemahesh@gmail.com>
Tue, 26 Feb 2019 00:36:27 +0000 (06:06 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 26 Feb 2019 10:40:07 +0000 (11:40 +0100)
Replace 'unsigned' with 'unsigned int' to be specific with data type.
Issue found with checkpatch.pl

Signed-off-by: Bhanusree Pola <bhanusreemahesh@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/mt7621-dma/mtk-hsdma.c

index d67a250..4426c0e 100644 (file)
@@ -191,7 +191,7 @@ static inline u32 mtk_hsdma_read(struct mtk_hsdam_engine *hsdma, u32 reg)
 }
 
 static inline void mtk_hsdma_write(struct mtk_hsdam_engine *hsdma,
-                                  unsigned reg, u32 val)
+                                  unsigned int reg, u32 val)
 {
        writel(val, hsdma->base + reg);
 }