[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <a2e53307-5aa6-54c8-8bab-695f4e2e6cc7@linuxfoundation.org>
Date: Tue, 19 Apr 2022 09:55:30 -0600
From: Shuah Khan <skhan@...uxfoundation.org>
To: Guo Zhengkui <guozhengkui@...o.com>,
Catalin Marinas <catalin.marinas@....com>,
Will Deacon <will@...nel.org>, Shuah Khan <shuah@...nel.org>,
"moderated list:ARM64 PORT (AARCH64 ARCHITECTURE)"
<linux-arm-kernel@...ts.infradead.org>,
"open list:KERNEL SELFTEST FRAMEWORK"
<linux-kselftest@...r.kernel.org>,
open list <linux-kernel@...r.kernel.org>
Cc: zhengkui_guo@...look.com, Shuah Khan <skhan@...uxfoundation.org>
Subject: Re: [PATCH] kselftest/arm64: fix array_size.cocci warning
On 4/18/22 9:24 PM, Guo Zhengkui wrote:
> Fix the following coccicheck warnings:
> tools/testing/selftests/arm64/mte/check_child_memory.c:110:25-26:
> WARNING: Use ARRAY_SIZE
> tools/testing/selftests/arm64/mte/check_child_memory.c:88:24-25:
> WARNING: Use ARRAY_SIZE
> tools/testing/selftests/arm64/mte/check_child_memory.c:90:20-21:
> WARNING: Use ARRAY_SIZE
> tools/testing/selftests/arm64/mte/check_child_memory.c:147:24-25:
> WARNING: Use ARRAY_SIZE
>
> `ARRAY_SIZE` macro is defined in tools/testing/selftests/kselftest.h.
>
> Signed-off-by: Guo Zhengkui <guozhengkui@...o.com>
Looks good to me.
Reviewed-by: Shuah Khan <skhan@...uxfoundation.org>
thanks,
-- Shuah
Powered by blists - more mailing lists