summaryrefslogtreecommitdiff
path: root/drivers/media/cec/platform/stm32/stm32-cec.c
diff options
context:
space:
mode:
authorZhang Shurong <zhang_shurong@foxmail.com>2023-07-09 13:04:09 +0800
committerHans Verkuil <hverkuil-cisco@xs4all.nl>2023-07-19 12:57:50 +0200
commitf7e0f1f52424bfdfa8efd6eb6496d5d6244ee3bb (patch)
treee042390a57c4ce7ef739fdd0e0263e3ba76cac85 /drivers/media/cec/platform/stm32/stm32-cec.c
parent1047f9343011f2cedc73c64829686206a7e9fc3f (diff)
downloadlinux-f7e0f1f52424bfdfa8efd6eb6496d5d6244ee3bb.tar.gz
linux-f7e0f1f52424bfdfa8efd6eb6496d5d6244ee3bb.tar.bz2
linux-f7e0f1f52424bfdfa8efd6eb6496d5d6244ee3bb.zip
media: dvb-usb: opera1: fix uninit-value in dvb_usb_adapter_dvb_init
If opera1_xilinx_rw fails, the mac address is not initialized. And opera1_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 opera1_xilinx_rw. Signed-off-by: Zhang Shurong <zhang_shurong@foxmail.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Diffstat (limited to 'drivers/media/cec/platform/stm32/stm32-cec.c')
0 files changed, 0 insertions, 0 deletions