]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: arm64: Don't open code ARRAY_SIZE()
authorOliver Upton <oliver.upton@linux.dev>
Wed, 27 Jul 2022 14:29:05 +0000 (15:29 +0100)
committerMarc Zyngier <maz@kernel.org>
Wed, 27 Jul 2022 17:18:38 +0000 (18:18 +0100)
commit963b98da23dad476b6b6aaf4c394998941a2acdf
treec087793184ed00acbd5c2693598b2baecf441635
parent30e1a63fe43e53b548276fc0380dc9418b958258
KVM: arm64: Don't open code ARRAY_SIZE()

Use ARRAY_SIZE() instead of an open-coded version.

Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Reviewed-by: Kalesh Singh <kaleshsingh@google.com>
Tested-by: Kalesh Singh <kaleshsingh@google.com>
Link: https://lore.kernel.org/r/20220727142906.1856759-6-maz@kernel.org
arch/arm64/kvm/hyp/nvhe/stacktrace.c
arch/arm64/kvm/stacktrace.c