aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorDongliang Mu <[email protected]>2021-06-25 07:33:27 +0200
committerMauro Carvalho Chehab <[email protected]>2021-07-22 08:22:17 +0200
commitc5453769f77ce19a5b03f1f49946fd3f8a374009 (patch)
treed8359c76d3da0d9109d51b30fb8845e3c5751c65 /tools/perf/scripts/python
parent8b777edff097ca9bb564529913f3a934d59112f4 (diff)
media: dvb-usb: fix uninit-value in dvb_usb_adapter_dvb_init
If dibusb_read_eeprom_byte fails, the mac address is not initialized. And nova_t_read_mac_address does not handle this failure, which leads to the uninit-value in dvb_usb_adapter_dvb_init. Fix this by handling the failure of dibusb_read_eeprom_byte. Reported-by: [email protected] Fixes: 786baecfe78f ("[media] dvb-usb: move it to drivers/media/usb/dvb-usb") Signed-off-by: Dongliang Mu <[email protected]> Signed-off-by: Sean Young <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions