diff options
author | Colin Ian King <colin.king@canonical.com> | 2015-09-15 11:42:27 (GMT) |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2015-10-22 17:48:23 (GMT) |
commit | bf447221a8791d0f5dd28b19336e31e48f05f04a (patch) | |
tree | c8ced1569f024bccd8e0ae4f2c58ea8bcfc35797 /mm | |
parent | a9c4e5cfebc44e6caa6b9299af5603f5c2da0c33 (diff) | |
download | linux-bf447221a8791d0f5dd28b19336e31e48f05f04a.tar.xz |
[media] c8sectpfe: fix ininitialized error return on firmware load failure
static analysis with cppcheck detected the following error:
[drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c:1210]:
(error) Uninitialized variable: ret
ret is never initialised, so garbage is being returned. Instead
return the error return from the call of request_firmware_nowait
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions