Re: [PATCH v2 -next] perf test: Use ARRAY_SIZE for array length

From: Namhyung Kim
Date: Tue Oct 01 2024 - 17:05:00 EST


On Sun, 29 Sep 2024 17:30:45 +0800, Jiapeng Chong wrote:

> Use of macro ARRAY_SIZE to calculate array size minimizes
> the redundant code and improves code reusability.
>
> ./tools/perf/tests/demangle-java-test.c:31:34-35: WARNING: Use ARRAY_SIZE.
>
>

Applied to perf-tools-next, thanks!

Best regards,
Namhyung