Skip to content
Commit 58a2ab3a authored by Dan Carpenter's avatar Dan Carpenter Committed by Boris Brezillon
Browse files

drm: atmel-hlcdc: fix a NULL check



If kmalloc() returned NULL we would end up dereferencing "state" a
couple lines later.

Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: default avatarBoris Brezillon <boris.brezillon@free-electrons.com>
parent c2e4c994
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment