From: Daniel Vetter Date: Thu, 19 Sep 2013 10:18:32 +0000 (+0200) Subject: drm/i915: use pointer = k[cmz...]alloc(sizeof(*pointer), ...) pattern X-Git-Tag: v3.13-rc1~76^2~80^2~92 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b14c5679dd2c87b5bd14c49c5bdd1962be2ab209;p=pandora-kernel.git drm/i915: use pointer = k[cmz...]alloc(sizeof(*pointer), ...) pattern Done while reviewing all our allocations for fubar. Also a few errant cases of lacking () for the sizeof operator - just a bit of OCD. I've left out all the conversions that also should use kcalloc from this patch (it's only 2). Reviewed-by: Jani Nikula Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed