]> asedeno.scripts.mit.edu Git - linux.git/commit
media: mxl111sf: improve error handling logic
authorMauro Carvalho Chehab <mchehab@s-opensource.com>
Wed, 1 Nov 2017 21:05:54 +0000 (17:05 -0400)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Mon, 11 Dec 2017 18:14:44 +0000 (13:14 -0500)
commitad7b57d58d16666f607914bf9ff6950e1c5532a4
treeeee3d05d1299fd242dafc7ea2827965f4e80846e
parentf161544d9d7d8e617c13fe30504317c417ed49e9
media: mxl111sf: improve error handling logic

As reported by smatch:
drivers/media/usb/dvb-usb-v2/mxl111sf-demod.c:485 mxl111sf_demod_read_signal_strength() error: uninitialized symbol 'modulation'.

The mxl111sf_demod_read_signal_strength() just ignores if something
gets wrong while reading snr or modulation.

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/usb/dvb-usb-v2/mxl111sf-demod.c