Re: [PATCH v2] selftests/x86/syscall: use ARRAY_SIZE for msbs

From: Greg KH
Date: Fri Jun 11 2021 - 06:40:31 EST


On Fri, Jun 11, 2021 at 06:18:34PM +0800, Jiapeng Chong wrote:
> Use ARRAY_SIZE instead of dividing sizeof array with sizeof an
> element.
>
> Clean up the following coccicheck warning:
>
> ./tools/testing/selftests/x86/syscall_numbering.c:316:35-36: WARNING:
> Use ARRAY_SIZE.

Same comments apply here as on your usbip tool patch :(