commit | 3bf3f452362841404fe6d4589883f9471842ef8b | [log] [tgz] |
---|---|---|
author | Ben Widawsky <ben@bwidawsk.net> | Mon Apr 16 14:07:41 2012 -0700 |
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | Wed Apr 18 10:34:50 2012 +0200 |
tree | 9d8b2ce8b3317deb421368774f547a85146345d0 | |
parent | c43b5634037ff00c83cde4ab7fc5e46831c846ef [diff] |
drm/i915: [sparse] don't use variable size arrays Sparse doesn't like: "error: bad constant expression" Signed-off-by: Ben Widawsky <benjamin.widawsky@intel.com> [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 <daniel.vetter@ffwll.ch>