[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240902183944.6779c0a5@kernel.org>
Date: Mon, 2 Sep 2024 18:39:44 -0700
From: Jakub Kicinski <kuba@...nel.org>
To: Jinjie Ruan <ruanjinjie@...wei.com>
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 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?
Powered by blists - more mailing lists