kernel-janitors.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* re: irqchip: keystone: Add irq controller ip driver
@ 2014-08-28 13:21 Dan Carpenter
  0 siblings, 0 replies; only message in thread
From: Dan Carpenter @ 2014-08-28 13:21 UTC (permalink / raw)
  To: kernel-janitors

Hello Grygorii Strashko,

The patch 89323f8c504a: "irqchip: keystone: Add irq controller ip
driver" from Jul 23, 2014, leads to the following static checker
warning:

	drivers/irqchip/irq-keystone.c:166 keystone_irq_probe()
	warn: unsigned 'kirq->irq' is never less than zero.

drivers/irqchip/irq-keystone.c
   164  
   165          kirq->irq = platform_get_irq(pdev, 0);
   166          if (kirq->irq < 0) {
                    ^^^^^^^^^^^^^
   167                  dev_err(dev, "no irq resource %d\n", kirq->irq);
   168                  return kirq->irq;
   169          }
   170  

regards,
dan carpenter

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-08-28 13:21 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-28 13:21 irqchip: keystone: Add irq controller ip driver Dan Carpenter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).