[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <689ae7b5-0b73-3cb3-5d9c-5ae23e36ee85@gmail.com>
Date: Mon, 28 Aug 2023 21:06:09 +0300
From: Sergey Ryazanov <ryazanov.s.a@...il.com>
To: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Cc: haozhe chang <haozhe.chang@...iatek.com>,
Loic Poulain <loic.poulain@...aro.org>,
Johannes Berg <johannes@...solutions.net>,
"David S. Miller" <davem@...emloft.net>, Eric Dumazet <edumazet@...gle.com>,
Jakub Kicinski <kuba@...nel.org>, Paolo Abeni <pabeni@...hat.com>
Subject: Re: [PATCH net-next v1 1/1] wwan: core: Use the bitmap API to
allocate bitmaps
On 28.08.2023 16:19, Andy Shevchenko wrote:
> Use bitmap_zalloc() and bitmap_free() instead of hand-writing them.
> It is less verbose and it improves the type checking and semantic.
>
> While at it, add missing header inclusion (should be bitops.h,
> but with the above change it becomes bitmap.h).
>
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
Make sense. Thank you.
BTW, any plans to update __dev_alloc_name(), which was used as
reference, in the same way?
Reviewed-by: Sergey Ryazanov <ryazanov.s.a@...il.com>
Powered by blists - more mailing lists