lkml.org 
[lkml]   [2022]   [Jun]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] hinic: Use the bitmap API when applicable
From
Date
Hello:

This patch was applied to netdev/net-next.git (master)
by Jakub Kicinski <kuba@kernel.org>:

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


\
 
 \ /
  Last update: 2022-06-28 07:41    [W:0.037 / U:0.068 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site