Re: [PATCH] drm/mediatek: check for memory allocation failure

2017-06-13 Thread CK Hu
Hi, Christophe: Applied to my branch mediatek-drm-next-4.13, thanks. Regards, CK On Fri, 2017-06-09 at 21:27 +0200, Christophe JAILLET wrote: > If 'devm_kmalloc_array' returns NULL, we should return -ENOMEM as already > done a few lines above instead of deferencing a NULL pointer a few lines > b

Re: [PATCH] drm/mediatek: check for memory allocation failure

2017-06-12 Thread Matthias Brugger
On 09/06/17 21:27, Christophe JAILLET wrote: If 'devm_kmalloc_array' returns NULL, we should return -ENOMEM as already done a few lines above instead of deferencing a NULL pointer a few lines below. Signed-off-by: Christophe JAILLET --- Reviewed-by: Matthias Brugger drivers/gpu/drm/med