[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <d20a0971-a03b-ce24-1111-ca06de234cd6@huawei.com>
Date: Tue, 3 Sep 2024 10:06:02 +0800
From: Jinjie Ruan <ruanjinjie@...wei.com>
To: Jakub Kicinski <kuba@...nel.org>
CC: <davem@...emloft.net>, <edumazet@...gle.com>, <pabeni@...hat.com>,
<christophe.jaillet@...adoo.fr>, <horms@...nel.org>, <netdev@...r.kernel.org>
Subject: Re: [PATCH -next] netlink: Use the BITS_PER_LONG macro
On 2024/9/3 9:39, Jakub Kicinski wrote:
> On Mon, 2 Sep 2024 19:10:52 +0800 Jinjie Ruan wrote:
>> sizeof(unsigned long) * 8 is the number of bits in an unsigned long
>> variable, replace it with BITS_PER_LONG macro to make it simpler.
>
> Does coccicheck catch such cases?
Yes
Powered by blists - more mailing lists