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

2020-11-13 Thread baskov
On 2020-11-14 00:35, Jacek Anaszewski wrote: There is a typo in the subject: s/hangle/handle/ Thanks for pointing out, sorry for that. Apparently, there is also a typo in my name -> s/Evgeiny/Evgeniy/ -- Respectfully, Baskov Evgeniy

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

2020-11-13 Thread Jacek Anaszewski
Hi Evgeiny, Thank you for the patch. There is a typo in the subject: s/hangle/handle/ Otherwise: Acked-by: Jacek Anaszewski 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.

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

2020-11-13 Thread Andrzej Pietrasiewicz
Acked-by: Andrzej Pietrasiewicz W dniu 13.11.2020 o 17:06, Baskov Evgeiny pisze: 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. Found by Linux Driver Verification

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

2020-11-13 Thread Baskov Evgeiny
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. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Baskov Evgeiny ---