From: Grygorii Strashko Date: Thu, 28 Aug 2014 17:16:29 +0000 (+0300) Subject: irqchip: keystone: Remove warning unsigned 'kirq->irq' is never less than zero X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=8703ec19c706eb4d9f2848d50e9fc41d73eb4a40;p=openwrt%2Fstaging%2Fblogic.git irqchip: keystone: Remove warning unsigned 'kirq->irq' is never less than zero Remove static checker warning: drivers/irqchip/irq-keystone.c:166 keystone_irq_probe() warn: unsigned 'kirq->irq' is never less than zero. Reported-by: Dan Carpenter Signed-off-by: Grygorii Strashko Link: https://lkml.kernel.org/r/1409246189-29727-1-git-send-email-grygorii.strashko@ti.com Signed-off-by: Jason Cooper --- diff --git a/drivers/irqchip/irq-keystone.c b/drivers/irqchip/irq-keystone.c index fea26bcfd4ea..608abf9c9283 100644 --- a/drivers/irqchip/irq-keystone.c +++ b/drivers/irqchip/irq-keystone.c @@ -36,7 +36,7 @@ struct keystone_irq_device { struct device *dev; struct irq_chip chip; u32 mask; - u32 irq; + int irq; struct irq_domain *irqd; struct regmap *devctrl_regs; u32 devctrl_offset;