From: Peikan Tsai <peikantsai@gmail.com>
To: jassisinghbrar@gmail.com
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH] mailbox: arm-mhu: Use unsigned int for irq of mhu_link
Date: Mon, 26 Aug 2019 00:57:47 +0800 [thread overview]
Message-ID: <20190825165747.GA72906@MarkdeMacBook-Pro.local> (raw)
Hi,
Please find attached patch which fixes a warning reported by
checkpatch.pl in drivers/mailbox/arm_mhu.c.
Fix warning reported by checkpatch.pl:
WARNING: Prefer 'unsigned int' to bare use of 'unsigned'
+ unsigned irq;
Signed-off-by: Peikan Tsai <peikantsai@gmail.com>
---
drivers/mailbox/arm_mhu.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/mailbox/arm_mhu.c b/drivers/mailbox/arm_mhu.c
index 9da236552bd7..aa5a123e38f9 100644
--- a/drivers/mailbox/arm_mhu.c
+++ b/drivers/mailbox/arm_mhu.c
@@ -25,7 +25,7 @@
#define MHU_CHANS 3
struct mhu_link {
- unsigned irq;
+ unsigned int irq;
void __iomem *tx_reg;
void __iomem *rx_reg;
};
--
2.13.1
reply other threads:[~2019-08-25 16:57 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20190825165747.GA72906@MarkdeMacBook-Pro.local \
--to=peikantsai@gmail.com \
--cc=jassisinghbrar@gmail.com \
--cc=linux-kernel@vger.kernel.org \
/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).