[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <5b888996-9086-93f6-ec08-1ffbd2a67002@omp.ru>
Date: Tue, 16 Apr 2024 21:31:10 +0300
From: Sergey Shtylyov <s.shtylyov@....ru>
To: Roman Smirnov <r.smirnov@....ru>, Mauro Carvalho Chehab
<mchehab@...nel.org>, Hans Verkuil <hverkuil-cisco@...all.nl>, Jia-Ju Bai
<baijiaju1990@...il.com>
CC: <linux-media@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
<lvc-project@...uxtesting.org>
Subject: Re: [PATCH 3/3] media: tuners: tuner_simple: fix error code handling
in simple_tuner_attach()
Hello!
Should have been "tuner-simple:" in the subject... :-)
On 4/16/24 2:45 PM, Roman Smirnov wrote:
> simple_tuner_attach() uses the hybrid_tuner_request_state() macro.
> It may return the error code -ENOMEM, but the function handle
> 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@....ru>
Reviewed-by: Sergey Shtylyov <s.shtylyov@....ru>
[...]
MBR, Sergey
Powered by blists - more mailing lists