Commit 39c883a3 authored by Bartosz Golaszewski's avatar Bartosz Golaszewski Committed by Zheng Zengkai
Browse files

lib: bitmap: provide devm_bitmap_alloc() and devm_bitmap_zalloc()

stable inclusion
from stable-v5.10.137
commit 26a10aef28d9e9bfaf975b390224009af6b10767
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I60PLB

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=26a10aef28d9e9bfaf975b390224009af6b10767



--------------------------------

[ Upstream commit e829c2e4 ]

Provide managed variants of bitmap_alloc() and bitmap_zalloc().

Signed-off-by: default avatarBartosz Golaszewski <bgolaszewski@baylibre.com>
Reviewed-by: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarZheng Zengkai <zhengzengkai@huawei.com>
Reviewed-by: default avatarWei Li <liwei391@huawei.com>
parent a9594ab0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment