Skip to content
Commit 772a2f9b authored by Dan Carpenter's avatar Dan Carpenter Committed by Dave Airlie
Browse files

fb: handle allocation failure in alloc_apertures()



If the kzalloc() fails we should return NULL.  All the places that call
alloc_apertures() check for this already.

Signed-off-by: default avatarDan Carpenter <error27@gmail.com>
Acked-by: default avatarJames Simmons <jsimmons@infradead.org>
Acked-by: default avatarMarcin Slusarz <marcin.slusarz@gmail.com>
Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
parent bbb642f9
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