[PATCH] mailbox: arm-mhu: Use unsigned int for irq of mhu_link
From: Peikan Tsai
Date: Sun Aug 25 2019 - 12:58:12 EST
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@xxxxxxxxx>
---
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