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: NBartosz Golaszewski <bgolaszewski@baylibre.com> Reviewed-by: NAndy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: NSasha Levin <sashal@kernel.org> Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com> Reviewed-by: NWei Li <liwei391@huawei.com>
Showing
想要评论请 注册 或 登录