git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
78032f9
)
net: make ndev->irq signed for error handling
author
Dan Carpenter
<dan.carpenter@oracle.com>
Thu, 7 Nov 2013 07:48:49 +0000
(10:48 +0300)
committer
David S. Miller
<davem@davemloft.net>
Fri, 8 Nov 2013 00:11:13 +0000
(19:11 -0500)
There is a bug in cpsw_probe() where we do:
ndev->irq = platform_get_irq(pdev, 0);
if (ndev->irq < 0) {
The problem is that "ndev->irq" is unsigned so the error handling
doesn't work. I have changed it to a regular int.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
No differences found