saa7134: Unchecked i2c_transfer function result fixed
authorAleksandr Burakov <a.burakov@rosalinux.ru>
Fri, 16 Feb 2024 12:40:06 +0000 (15:40 +0300)
committerHans Verkuil <hverkuil-cisco@xs4all.nl>
Sat, 15 Jun 2024 08:49:20 +0000 (10:49 +0200)
commit9d8683b3fd93f0e378f24dc3d9604e5d7d3e0a17
treee3d7120a26fe1bedde658870ba00e6a26f39594d
parent5bc4a0132d7acf0cad739342584a249f748a6c61
saa7134: Unchecked i2c_transfer function result fixed

Return value of function 'i2c_transfer' is not checked that
may cause undefined behaviour.

Found by Linux Verification Center (linuxtesting.org) with SVACE.

Fixes: 2cf36ac44730 ("[PATCH] v4l: 656: added support for the following cards")
Signed-off-by: Aleksandr Burakov <a.burakov@rosalinux.ru>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
drivers/media/pci/saa7134/saa7134-dvb.c