linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] mailbox: arm-mhu: Use unsigned int for irq of mhu_link
@ 2019-08-25 16:57 Peikan Tsai
  0 siblings, 0 replies; only message in thread
From: Peikan Tsai @ 2019-08-25 16:57 UTC (permalink / raw)
  To: jassisinghbrar; +Cc: linux-kernel

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


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2019-08-25 16:57 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-25 16:57 [PATCH] mailbox: arm-mhu: Use unsigned int for irq of mhu_link Peikan Tsai

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