[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <YMM9mu7ITxWJvA1W@kroah.com>
Date: Fri, 11 Jun 2021 12:40:26 +0200
From: Greg KH <gregkh@...uxfoundation.org>
To: Jiapeng Chong <jiapeng.chong@...ux.alibaba.com>
Cc: shuah@...nel.org, linux-kselftest@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] selftests/x86/syscall: use ARRAY_SIZE for msbs
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 :(
Powered by blists - more mailing lists