Searched hist:c9b7d8f252a5a6f8ca6e948151367cbc7bc4b776 (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/media/dvb-frontends/ |
H A D | lgdt3306a.c | diff c9b7d8f252a5a6f8ca6e948151367cbc7bc4b776 Thu Dec 20 08:48:42 CET 2018 Kangjie Lu <kjlu@umn.edu> media: lgdt3306a: fix a missing check of return value
If lgdt3306a_read_reg() fails, the read data in "val" is incorrect, thus shouldn't be further used. The fix inserts a check for the return value of lgdt3306a_read_reg(). If it fails, goto fail.
Signed-off-by: Kangjie Lu <kjlu@umn.edu> Signed-off-by: Sean Young <sean@mess.org> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
|