commit | b14c5679dd2c87b5bd14c49c5bdd1962be2ab209 | [log] [tgz] |
---|---|---|
author | Daniel Vetter <daniel.vetter@ffwll.ch> | Thu Sep 19 12:18:32 2013 +0200 |
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | Tue Oct 01 07:45:01 2013 +0200 |
tree | b838a1c7ec2f69a2b99b41e4d60ac68559df8933 | |
parent | 4821ff14a32886ee95c8b2850746ec020ca65189 [diff] |
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 <jani.nikula@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>