Home
last modified time | relevance | path

Searched hist:"4 a3bfb5c24306aa129c0de32e5d1ffb553a60a7c" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/gpu/drm/mediatek/
H A Dmtk_drm_crtc.cdiff 4a3bfb5c24306aa129c0de32e5d1ffb553a60a7c Fri Jun 09 14:27:12 CDT 2017 Christophe Jaillet <christophe.jaillet@wanadoo.fr> drm/mediatek: check for memory allocation failure

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 <christophe.jaillet@wanadoo.fr>
Reviewed-by: Matthias Brugger <matthias.bgg@gmail.com>
Signed-off-by: CK Hu <ck.hu@mediatek.com>