diff options
author | Grygorii Strashko <grygorii.strashko@ti.com> | 2014-08-28 20:16:29 +0300 |
---|---|---|
committer | Jason Cooper <jason@lakedaemon.net> | 2014-09-03 11:48:44 +0000 |
commit | 8703ec19c706eb4d9f2848d50e9fc41d73eb4a40 (patch) | |
tree | 5eb452132ac1d8b86918f41f5368c7e3bc37be0d /drivers | |
parent | 89323f8c504a8653c66fe4a314723b36b07e29e1 (diff) | |
download | op-kernel-dev-8703ec19c706eb4d9f2848d50e9fc41d73eb4a40.zip op-kernel-dev-8703ec19c706eb4d9f2848d50e9fc41d73eb4a40.tar.gz |
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')
-rw-r--r-- | drivers/irqchip/irq-keystone.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/irqchip/irq-keystone.c b/drivers/irqchip/irq-keystone.c index fea26bc..608abf9 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; |