]> git.baikalelectronics.ru Git - kernel.git/commit
habanalabs: use kvcalloc when possible
authorOded Gabbay <ogabbay@kernel.org>
Sun, 19 Jun 2022 09:40:19 +0000 (12:40 +0300)
committerOded Gabbay <ogabbay@kernel.org>
Tue, 12 Jul 2022 06:09:24 +0000 (09:09 +0300)
commit6ded90fba35289abda0ed62249e5767690b257c4
treea9d6b67d920d99c17336433e92f08e58facdfd63
parent2a5867d85dc3ba4e4eb88844642909fff87a1cc2
habanalabs: use kvcalloc when possible

kvcalloc is same as kvmalloc_array with GFP_ZERO.

Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
drivers/misc/habanalabs/common/mmu/mmu_v1.c