]> git.baikalelectronics.ru Git - kernel.git/commit
drm: Prefer kcalloc() over kzalloc() with multiply
authorThierry Reding <treding@nvidia.com>
Wed, 10 Dec 2014 12:03:35 +0000 (13:03 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 10 Dec 2014 13:13:24 +0000 (14:13 +0100)
commit5844434167065b4db0e380877d6910910d519b7e
treec6f37c1cdd7b71adda280928fe4c1ffd12c80082
parent06f90caf8b3f6254ac02176bac79e645bf9fbd3d
drm: Prefer kcalloc() over kzalloc() with multiply

Fixes a couple of checkpatch warnings regarding the use of kzalloc()
with a multiplication. kcalloc() is the preferred API.

Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/drm_crtc.c