lkml.org 
[lkml]   [2019]   [Aug]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] mailbox: arm-mhu: Use unsigned int for irq of mhu_link
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
\
 
 \ /
  Last update: 2019-08-25 18:59    [W:0.028 / U:0.452 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site