From: Ben Widawsky Date: Mon, 16 Apr 2012 21:07:41 +0000 (-0700) Subject: drm/i915: [sparse] don't use variable size arrays X-Git-Tag: v3.5-rc1~83^2~81^2~28 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3bf3f452362841404fe6d4589883f9471842ef8b;p=pandora-kernel.git drm/i915: [sparse] don't use variable size arrays Sparse doesn't like: "error: bad constant expression" Signed-off-by: Ben Widawsky [danvet: apply s/drm_malloc_ab/kcalloc bikeshed. If it's small enough for the stack, it's small enough for kmalloc.] Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed