fore200: fix oops on failed firmware load
authorMeelis Roos <mroos@linux.ee>
Wed, 11 Feb 2009 01:19:19 +0000 (17:19 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 17 Mar 2009 00:52:52 +0000 (17:52 -0700)
commitf5ab9014ca6ba959929e5533875f0a61fd6afb29
tree7adec99c7964852d17793e6b6fea31dcdda24959
parent44b576776241240f03fcf5981fc7d16f3a927b5b
fore200: fix oops on failed firmware load

commit fcffd0d8bbddac757cd856e635ac75e8eb4518bc upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/atm/fore200e.c