linux/include/uapi
Colin Ian King a9e4998073 media: dvb_frontend: ensure that inital front end status initialized
The fe_status variable s is not initialized meaning it can have any
random garbage status.  This could be problematic if fe->ops.tune is
false as s is not updated by the call to fe->ops.tune() and a
subsequent check on the change status will using a garbage value.
Fix this by adding FE_NONE to the enum fe_status and initializing
s to this.

Detected by CoverityScan, CID#112887 ("Uninitialized scalar variable")

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Reviewed-by: Shuah Khan <shuahkh@osg.samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2017-08-27 17:55:51 -04:00
..
asm-generic tty: Fix TIOCGPTPEER ioctl definition 2017-07-17 17:04:41 +02:00
drm drm/amdgpu: Fix the exported always on CU bitmap 2017-06-29 12:43:49 -04:00
linux media: dvb_frontend: ensure that inital front end status initialized 2017-08-27 17:55:51 -04:00
misc uapi: export all headers under uapi directories 2017-05-11 00:21:54 +09:00
mtd uapi: export all headers under uapi directories 2017-05-11 00:21:54 +09:00
rdma uapi: export all headers under uapi directories 2017-05-11 00:21:54 +09:00
scsi scsi: cxlflash: Support AFU debug 2017-06-26 15:01:12 -04:00
sound ASoC: Updates for v4.13 2017-07-03 19:51:42 +02:00
video uapi: export all headers under uapi directories 2017-05-11 00:21:54 +09:00
xen uapi: export all headers under uapi directories 2017-05-11 00:21:54 +09:00