commit | 7a2bbd8d8e36c4fae7610bb1be96c2ba5ff7553a | [log] [tgz] |
---|---|---|
author | Fabio Estevam <fabio.estevam@freescale.com> | Mon May 27 03:48:30 2013 +0000 |
committer | David S. Miller <davem@davemloft.net> | Mon May 27 22:29:54 2013 -0700 |
tree | 42d2b572c87534023eeb21cd9c66fe7d8d34504c | |
parent | f4e9f3d2fdb141d920c9fd7bd5ea7db348f6d3be [diff] |
fec: Invert the order of error path sequence 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>