https://github.com/torvalds/linux
Revision 772a2f9b488f4d27c314da5eeabde750b9ead41b authored by Dan Carpenter on 15 July 2010, 08:39:47 UTC, committed by Dave Airlie on 20 July 2010, 05:24:09 UTC
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>
1 parent bbb642f
History
Tip revision: 772a2f9b488f4d27c314da5eeabde750b9ead41b authored by Dan Carpenter on 15 July 2010, 08:39:47 UTC
fb: handle allocation failure in alloc_apertures()
Tip revision: 772a2f9
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore -rw-r--r-- 936 bytes
.mailmap -rw-r--r-- 3.9 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 91.8 KB
Kbuild -rw-r--r-- 2.4 KB
MAINTAINERS -rw-r--r-- 170.4 KB
Makefile -rw-r--r-- 50.1 KB
README -rw-r--r-- 17.0 KB
REPORTING-BUGS -rw-r--r-- 3.3 KB

README

back to top