drm/exynos: fix kcalloc size of g2d cmdlist node
authorJoonyoung Shim <jy0922.shim@samsung.com>
Thu, 27 Sep 2012 10:26:03 +0000 (19:26 +0900)
committerInki Dae <inki.dae@samsung.com>
Thu, 4 Oct 2012 01:10:56 +0000 (10:10 +0900)
commitfab9f8d093a60e524efbf6afe6c10e10c91f1642
tree77ebb6c0cd9f5ae0fe97ff1aba1e14c2f434f84f
parent2ab97921786f614bc9296722d8a2e2ce32d1760b
drm/exynos: fix kcalloc size of g2d cmdlist node

The size argument means just one element size when we call kcalloc, so
G2D_CMDLIST_NUM * sizeof(*node) is wrong.

Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
drivers/gpu/drm/exynos/exynos_drm_g2d.c