summaryrefslogtreecommitdiffstats
path: root/drivers/irqchip
diff options
context:
space:
mode:
authorGrygorii Strashko <grygorii.strashko@ti.com>2014-08-28 20:16:29 +0300
committerJason Cooper <jason@lakedaemon.net>2014-09-03 11:48:44 +0000
commit8703ec19c706eb4d9f2848d50e9fc41d73eb4a40 (patch)
tree5eb452132ac1d8b86918f41f5368c7e3bc37be0d /drivers/irqchip
parent89323f8c504a8653c66fe4a314723b36b07e29e1 (diff)
downloadtalos-op-linux-8703ec19c706eb4d9f2848d50e9fc41d73eb4a40.tar.gz
talos-op-linux-8703ec19c706eb4d9f2848d50e9fc41d73eb4a40.zip
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 <dan.carpenter@oracle.com> Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com> Link: https://lkml.kernel.org/r/1409246189-29727-1-git-send-email-grygorii.strashko@ti.com Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Diffstat (limited to 'drivers/irqchip')
-rw-r--r--drivers/irqchip/irq-keystone.c2
1 files changed, 1 insertions, 1 deletions
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;
OpenPOWER on IntegriCloud