diff options
author | 2013-11-07 10:48:49 +0300 | |
---|---|---|
committer | 2013-11-07 19:11:13 -0500 | |
commit | df42153c59a38a65c6f7440d5c70d87d1c24438d (patch) | |
tree | 3d928a77844d6c81e429e4cb5bc50097587ab805 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 6lowpan: release device on error path (diff) | |
download | linux-dev-df42153c59a38a65c6f7440d5c70d87d1c24438d.tar.xz linux-dev-df42153c59a38a65c6f7440d5c70d87d1c24438d.zip |
net: make ndev->irq signed for error handling
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>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions