From: Kulikov Vasiliy Date: Thu, 15 Jul 2010 08:45:29 +0000 (+0000) Subject: drivers: irda: fix sign bug X-Git-Tag: v3.12-rc1~9497^2~203 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9f27fb8514d0491f1c12052d78d46946f129b8e1;p=kernel%2Fkernel-generic.git drivers: irda: fix sign bug platform_get_irq_byname() can return negative results, it is not seen to unsigned irq. Make it signed. Signed-off-by: Kulikov Vasiliy Signed-off-by: David S. Miller --- diff --git a/drivers/net/irda/sh_sir.c b/drivers/net/irda/sh_sir.c index 5c5f99d..00b38bc 100644 --- a/drivers/net/irda/sh_sir.c +++ b/drivers/net/irda/sh_sir.c @@ -709,7 +709,7 @@ static int __devinit sh_sir_probe(struct platform_device *pdev) struct sh_sir_self *self; struct resource *res; char clk_name[8]; - unsigned int irq; + int irq; int err = -ENOMEM; res = platform_get_resource(pdev, IORESOURCE_MEM, 0);