acenic: Pass up error code from ace_load_firmware()
authorBen Hutchings <ben@decadent.org.uk>
Mon, 12 Oct 2009 11:18:48 +0000 (04:18 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 12 Oct 2009 11:18:48 +0000 (04:18 -0700)
commit6c60e0c30c80fcd53e61701b7865a85283f8a341
treeb1450bb496d0036da71acba3fc22b6ab47fd2814
parent5fdb9973c10c2d2e046da0976782ece25e78dc8b
acenic: Pass up error code from ace_load_firmware()

If ace_load_firmware() fails, ace_init() cleans up but still returns
0, leading to an oops as seen in <http://bugs.debian.org/521383>.
It should pass the error code up.

Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/acenic.c