Re: [PATCH] media: mediatek: vcodec: Fix an error handling path in vdec_msg_queue_init()

From: Christophe JAILLET
Date: Tue Jul 18 2023 - 14:39:50 EST


Le 18/07/2023 à 08:58, Dan Carpenter a écrit :
On Mon, Jul 17, 2023 at 10:09:19PM +0200, Christophe JAILLET wrote:
All errors go to the error handling path, except this one. Be consistent
and also branch to it.

Fixes: 2f5d0aef37c6 ("media: mediatek: vcodec: support stateless AV1 decoder")
Signed-off-by: Christophe JAILLET <christophe.jaillet@xxxxxxxxxx>
---

I sent this one a month ago but it hasn't been applied.

https://lore.kernel.org/all/b8948d9a-65bc-4f3f-aa90-60addd064819@moroto.mountain/

regards,
dan carpenter



Hi Dan,

your patch is better than mine.
Less verbose and more complete.

CJ