linux_dsm_epyc7002/include/uapi/linux/dvb
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
..
audio.h UAPI: (Scripted) Disintegrate include/linux/dvb 2012-10-17 10:00:29 -03:00
ca.h UAPI: (Scripted) Disintegrate include/linux/dvb 2012-10-17 10:00:29 -03:00
dmx.h [media] DocBook: Change format for enum dmx_output documentation 2015-06-09 17:47:38 -03:00
frontend.h media: dvb_frontend: ensure that inital front end status initialized 2017-08-27 17:55:51 -04:00
net.h UAPI: (Scripted) Disintegrate include/linux/dvb 2012-10-17 10:00:29 -03:00
osd.h UAPI: (Scripted) Disintegrate include/linux/dvb 2012-10-17 10:00:29 -03:00
version.h [media] dvb: Add DVBv5 statistics properties 2013-01-23 19:06:33 -02:00
video.h [media] dvb: don't use 'time_t' in event ioctl 2017-06-20 11:27:01 -03:00