diff options
author | Sudip Mukherjee <sudipm.mukherjee@gmail.com> | 2015-11-23 14:54:30 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-02-08 09:53:40 +0300 |
commit | ba1b5c44e2a9fed6f97fb10da3b4da164d4a26e4 (patch) | |
tree | 0da1d8aeb9a9eb816b36d9042caa8cc6b8103d90 /REPORTING-BUGS | |
parent | d897d7edee8eaf0a8f7924a9502fd68e72041f8c (diff) | |
download | linux-ba1b5c44e2a9fed6f97fb10da3b4da164d4a26e4.tar.xz |
misc: mic: return error properly
If request_firmware() succeeds then rc becomes 0. After that if the test
for strcmp() fails then we were jumping to label done: and returning rc.
But rc being 0 we returned success whereas we have failed here and we
were supposed to return an error.
Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org>
Reviewed-by: Sudeep Dutt <sudeep.dutt@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'REPORTING-BUGS')
0 files changed, 0 insertions, 0 deletions