[lvc-project] [PATCH 2/3] media: tuners: xc5000: fix error code handling in xc5000_attach()

Sergey Shtylyov s.shtylyov at omp.ru
Tue Apr 16 21:58:51 MSK 2024


On 4/16/24 2:45 PM, Roman Smirnov wrote:

> xc5000_attach() uses the hybrid_tuner_request_state() macro.
> It may return the error code -ENOMEM, but the function handle

   Handles (just noticed that grammar issue in all 3 patches).

> the value 0 instead.
> 
> Found by Linux Verification Center (linuxtesting.org) with Svace.
> 
> Fixes: b9302fa7ed97 ("media: tuners: fix error return code of hybrid_tuner_request_state()")
> Signed-off-by: Roman Smirnov <r.smirnov at omp.ru>

Reviewed-by: Sergey Shtylyov <s.shtylyov at omp.ru>

[...]

MBR, Sergey




More information about the lvc-project mailing list