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:
f4e9f3d
)
fec: Invert the order of error path sequence
author
Fabio Estevam
<fabio.estevam@freescale.com>
Mon, 27 May 2013 03:48:30 +0000
(
03:48
+0000)
committer
David S. Miller
<davem@davemloft.net>
Tue, 28 May 2013 05:29:54 +0000
(22:29 -0700)
Currently when fec_enet_init fails it jumps to 'failed_init' error path, which
will attemp to free the interrupts.
This is wrong because at this point the interrupts have not even been acquired.
Swap failed_init/failed_irq to fix the error path.
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
No differences found