From: Dan Carpenter Date: Fri, 20 Jul 2012 11:17:00 +0000 (+0300) Subject: drm/radeon: check for allocation failure in radeon_ring_backup() X-Git-Tag: v3.6-rc1~83^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1e179d4e283bd197035960ef751b5ccac06cbf91;p=pandora-kernel.git drm/radeon: check for allocation failure in radeon_ring_backup() Static checkers complain if this we don't check for allocation failure. Also we can use the new kmalloc_array() function here as a cleanup. Signed-off-by: Dan Carpenter Reviewed-by: Christian König Signed-off-by: Dave Airlie --- Reading git-diff-tree failed