Skip to contentSkip to conversation

mailbox: arm-mhu: Use unsigned int for irq of mhu_link

PATCH New Peikan Tsai 1 participant 1 message Aug 25, 2019 Mailbox API

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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;

---
 drivers/mailbox/arm_mhu.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/mailbox/arm_mhu.c +1 -1
index 9da236552bd7..aa5a123e38f9 100644
@@ -25,7 +25,7 @@
 #define MHU_CHANS	3
 
 struct mhu_link {
-	unsigned irq;
+	unsigned int irq;
 	void __iomem *tx_reg;
 	void __iomem *rx_reg;
 };
Signature · 1 line
2.13.1