lkml.org 
[lkml]   [2021]   [Nov]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] PCI: xgene-msi: Use bitmap_zalloc() when applicable
Date
On Sat, 23 Oct 2021 22:02:05 +0200, Christophe JAILLET wrote:
> 'xgene_msi->bitmap' is a bitmap. So use 'bitmap_zalloc()' to simplify code,
> improve the semantic and avoid some open-coded arithmetic in allocator
> arguments.
>
> Also change the corresponding 'kfree()' into 'bitmap_free()' to keep
> consistency.
>
> [...]

Applied to pci/xgene, thanks!

[1/1] PCI: xgene-msi: Use bitmap_zalloc() when applicable
https://git.kernel.org/lpieralisi/pci/c/1ed9b961be

Thanks,
Lorenzo

\
 
 \ /
  Last update: 2021-11-29 18:42    [W:0.126 / U:0.084 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site