fore200: fix oops on failed firmware load
authorMeelis Roos <mroos@linux.ee>
Wed, 11 Feb 2009 01:19:19 +0000 (17:19 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 11 Feb 2009 01:19:19 +0000 (17:19 -0800)
commitfcffd0d8bbddac757cd856e635ac75e8eb4518bc
tree0cd406e00238ed32dad2dc9d4edfaab8775e13f4
parente672f7db767156bf71adf9c592cfe81b339523d6
fore200: fix oops on failed firmware load

Fore 200 ATM driver fails to handle request_firmware failures and oopses
when no firmware file was found. Fix it by checking for the right return
values and propaganting the return value up.

Signed-off-by: Meelis Roos <mroos@linux.ee>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/atm/fore200e.c