Re: [PATCH] hinic: Use the bitmap API when applicable
From: patchwork-bot+netdevbpf
Date: Tue Jun 28 2022 - 01:40:32 EST
Hello:
This patch was applied to netdev/net-next.git (master)
by Jakub Kicinski <kuba@xxxxxxxxxx>:
On Sun, 26 Jun 2022 18:27:45 +0200 you wrote:
> 'vlan_bitmap' is a bitmap and is used as such. So allocate it with
> devm_bitmap_zalloc() and its explicit bit size (i.e. VLAN_N_VID).
>
> This avoids the need of the VLAN_BITMAP_SIZE macro which:
> - needlessly has a 'nic_dev' parameter
> - should be "long" (and not byte) aligned, so that the bitmap semantic
> is respected
>
> [...]
Here is the summary with links:
- hinic: Use the bitmap API when applicable
https://git.kernel.org/netdev/net-next/c/7c2c57263af4
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html