Thread (3 messages) 3 messages, 2 authors, 2020-11-14

Re: [PATCH] s5p-jpeg: hangle error condition in s5p_jpeg_probe

From: Jacek Anaszewski <jacek.anaszewski@gmail.com>
Date: 2020-11-13 21:35:27
Also in: linux-media, lkml

Hi Evgeiny,

Thank you for the patch.

There is a typo in the subject: s/hangle/handle/

Otherwise:

Acked-by: Jacek Anaszewski <jacek.anaszewski@gmail.com>


On 11/13/20 5:06 PM, Baskov Evgeiny wrote:
If an error happens in jpeg_get_drv_data(), i.e. match fails,
jpeg->variant field is NULL, so we cannot access it.

Consider device probe failed if jpeg->variant is NULL.

-- 
Best regards,
Jacek Anaszewski

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help