]> git.baikalelectronics.ru Git - kernel.git/commit
gpu: host1x: syncpt: Use kcalloc() instead of kzalloc()
authorThierry Reding <treding@nvidia.com>
Thu, 23 Jun 2016 09:24:59 +0000 (11:24 +0200)
committerThierry Reding <treding@nvidia.com>
Thu, 23 Jun 2016 09:59:28 +0000 (11:59 +0200)
commit52da6304df750aa8e58fd36c6db9dbc13cb9169a
treee8807c199947121a739a5935538ff63d235dd714
parentb28d21ca4d460a370793278cecc6931616721a74
gpu: host1x: syncpt: Use kcalloc() instead of kzalloc()

Use kcalloc() to allocate arrays rather than passing the product of the
size per element by the number of elements to kzalloc().

Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/host1x/syncpt.c