From: Bharath Vedartham <linux.bhar@gmail.com>
To: gregkh@linuxfoundation.org, christian@lkamp.de, neil@brown.name
Cc: devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org
Subject: [PATCH] staging: ralink-gdma: Convert unsigned to unsigned int
Date: Sat, 23 Mar 2019 17:04:44 +0530 [thread overview]
Message-ID: <20190323113444.GA9329@bharath12345-Inspiron-5559> (raw)
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
next reply other threads:[~2019-03-23 11:34 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-03-23 11:34 Bharath Vedartham [this message]
2019-03-24 8:58 ` [PATCH] staging: ralink-gdma: Convert unsigned to unsigned int Greg KH
2019-03-24 9:37 ` Bharath Vedartham
2019-03-24 12:11 ` Greg KH
2019-03-24 9:49 ` Bharath Vedartham
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190323113444.GA9329@bharath12345-Inspiron-5559 \
--to=linux.bhar@gmail.com \
--cc=christian@lkamp.de \
--cc=devel@driverdev.osuosl.org \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=neil@brown.name \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).