]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
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:32:26 +0000 (17:32 -0700)
commit08f40e6c3eaada943bdbf70914068a5ebf193e6b
treeec93a93c247d7c4e371a7fa53fbaa74b7774abbc
parentcfd769d22833e9ac5a63017a89655b8724b36ff9
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