commit | 772a2f9b488f4d27c314da5eeabde750b9ead41b | [log] [tgz] |
---|---|---|
author | Dan Carpenter <error27@gmail.com> | Thu Jul 15 10:39:47 2010 +0200 |
committer | Dave Airlie <airlied@redhat.com> | Tue Jul 20 15:24:09 2010 +1000 |
tree | 2cb96edb617d659b26cad8c603d664cfa0cd1373 | |
parent | bbb642f9c9a43dbe45ffe14935397a2a34100263 [diff] |
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: Dan Carpenter <error27@gmail.com> Acked-by: James Simmons <jsimmons@infradead.org> Acked-by: Marcin Slusarz <marcin.slusarz@gmail.com> Signed-off-by: Dave Airlie <airlied@redhat.com>