lkml.org 
[lkml]   [2014]   [Aug]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] irqchip: keystone: remove warning unsigned 'kirq->irq' is never less than zero
Hi Jason,

On 08/28/2014 08:16 PM, Grygorii Strashko wrote:
> 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>
> ---

Sorry, forgot to mention that this is incremental fix for the patch
https://lkml.org/lkml/2014/7/23/891
"[PATCH v2] irqchip: add keystone irq controller ip driver" which is
in linux-next already.

> drivers/irqchip/irq-keystone.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> 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;
>



\
 
 \ /
  Last update: 2014-08-28 20:01    [W:0.458 / U:0.232 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site