提交 8703ec19 编写于 作者: G Grygorii Strashko 提交者: Jason Cooper

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: NDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: NGrygorii Strashko <grygorii.strashko@ti.com>
Link: https://lkml.kernel.org/r/1409246189-29727-1-git-send-email-grygorii.strashko@ti.comSigned-off-by: NJason Cooper <jason@lakedaemon.net>
上级 89323f8c
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册