]> git.baikalelectronics.ru Git - kernel.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)
commit58fe4171331c077550f951c83f59c2b4904e01aa
treeeee3d05d1299fd242dafc7ea2827965f4e80846e
parent2c458c6b30e58584f02e621ac5a7b63d5d5c6c25
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