drm/i915: Allocate the pipe_crc->entires with kcalloc()
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 9 Dec 2014 19:28:31 +0000 (21:28 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 10 Dec 2014 16:47:26 +0000 (17:47 +0100)
commit3cf54b34dafe800d9522b93249b6f4c1bfb50de2
tree91d249482469d9b67e793e54f126f13424af38df
parent4252fbc3d4d3abd09ccc7598342cc930d09aac27
drm/i915: Allocate the pipe_crc->entires with kcalloc()

pipe_crc->entries[] is an array so allocate with kcalloc() instead of
kzalloc().

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_debugfs.c