[patch] drm: atmel-hlcdc: fix a NULL check

Eric Engestrom eric.engestrom at imgtec.com
Mon Apr 25 09:11:29 UTC 2016


On Mon, Apr 25, 2016 at 12:04:54PM +0300, Dan Carpenter wrote:
> If kmalloc() returned NULL we would end up dereferencing "state" a
> couple lines later.
> 
> Signed-off-by: Dan Carpenter <dan.carpenter at oracle.com>

Reviewed-by: Eric Engestrom <eric.engestrom at imgtec.com>


More information about the dri-devel mailing list