Skip to content

Commit

Permalink
irqchip: keystone: Remove warning unsigned 'kirq->irq' is never less …
Browse files Browse the repository at this point in the history
…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>
  • Loading branch information
Grygorii Strashko authored and Jason Cooper committed Sep 3, 2014
1 parent 89323f8 commit 8703ec1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/irqchip/irq-keystone.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 8703ec1

Please sign in to comment.