https://github.com/torvalds/linux
Revision bf447221a8791d0f5dd28b19336e31e48f05f04a authored by Colin Ian King on 15 September 2015, 11:42:27 UTC, committed by Mauro Carvalho Chehab on 22 October 2015, 17:48:23 UTC
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>
1 parent a9c4e5c
History
Tip revision: bf447221a8791d0f5dd28b19336e31e48f05f04a authored by Colin Ian King on 15 September 2015, 11:42:27 UTC
[media] c8sectpfe: fix ininitialized error return on firmware load failure
Tip revision: bf44722
File Mode Size
Documentation
arch
block
certs
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.get_maintainer.ignore -rw-r--r-- 31 bytes
.gitignore -rw-r--r-- 1.2 KB
.mailmap -rw-r--r-- 5.3 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 94.9 KB
Kbuild -rw-r--r-- 2.6 KB
Kconfig -rw-r--r-- 252 bytes
MAINTAINERS -rw-r--r-- 319.8 KB
Makefile -rw-r--r-- 53.2 KB
README -rw-r--r-- 18.2 KB
REPORTING-BUGS -rw-r--r-- 7.3 KB

README

back to top