Re: [PATCH] [media] dvb_frontend: ensure that front end status is initialized

2017-07-20 Thread Shuah Khan
Hi Colin, On 07/20/2017 09:29 AM, Colin King wrote: > From: Colin Ian King > > 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 c

[PATCH] [media] dvb_frontend: ensure that front end status is initialized

2017-07-20 Thread Colin King
From: Colin Ian King 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