]> www.infradead.org Git - users/jedix/linux-maple.git/commit
media: tda18271: add missing result checking of tda18271_lookup_map()
authorKarina Yankevich <k.yankevich@omp.ru>
Fri, 16 Feb 2024 16:01:10 +0000 (19:01 +0300)
committerHans Verkuil <hverkuil-cisco@xs4all.nl>
Sat, 12 Oct 2024 14:28:24 +0000 (16:28 +0200)
commit45defa4578cc1599bdfe2dcb7b810eafd7df90f2
tree0c7991ab6401793456405950487be8e7dc66e2a6
parent88785982a19daa765e30ab3a605680202cfaee4e
media: tda18271: add missing result checking of tda18271_lookup_map()

tda18271_lookup_map() may return negative error code, but
tda18271c2_rf_tracking_filters_correction() doesn't check it
as the other callers.

Found by Linux Verification Center (linuxtesting.org) with the Svace static
analysis tool.

Signed-off-by: Karina Yankevich <k.yankevich@omp.ru>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
drivers/media/tuners/tda18271-fe.c