projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c974138
)
drivers: irda: fix sign bug
author
Kulikov Vasiliy
<segooon@gmail.com>
Thu, 15 Jul 2010 08:44:54 +0000
(08:44 +0000)
committer
David S. Miller
<davem@davemloft.net>
Fri, 16 Jul 2010 03:27:57 +0000
(20:27 -0700)
platform_get_irq_byname() can return negative results, it is not seen to
unsigned irq. Make it signed.
Signed-off-by: Kulikov Vasiliy <segooon@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/irda/sh_irda.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/irda/sh_irda.c
b/drivers/net/irda/sh_irda.c
index 9a828b06a57e656ae198bcc0d8a7cfcb7121706e..edd5666f0ffbde3e7bdce003278e93b44227ad05 100644
(file)
--- a/
drivers/net/irda/sh_irda.c
+++ b/
drivers/net/irda/sh_irda.c
@@
-749,7
+749,7
@@
static int __devinit sh_irda_probe(struct platform_device *pdev)
struct sh_irda_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);