Re: [PATCH] media: s5p-mfc: Fix initialization of internal structures

2017-02-14 Thread Javier Martinez Canillas
Hello Marek, On 02/03/2017 11:05 AM, Marek Szyprowski wrote: > Initialize members of the internal device and context structures as early > as possible to avoid access to uninitialized objects on initialization > failures. If loading firmware or creating of the hardware instance fails, > driver

Re: [PATCH] media: s5p-mfc: Fix initialization of internal structures

2017-02-07 Thread Andrzej Hajda
On 03.02.2017 15:05, Marek Szyprowski wrote: > Initialize members of the internal device and context structures as early > as possible to avoid access to uninitialized objects on initialization > failures. If loading firmware or creating of the hardware instance fails, > driver will access device

[PATCH] media: s5p-mfc: Fix initialization of internal structures

2017-02-03 Thread Marek Szyprowski
Initialize members of the internal device and context structures as early as possible to avoid access to uninitialized objects on initialization failures. If loading firmware or creating of the hardware instance fails, driver will access device or context queue in error handling path, which might