diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2022-07-09 16:24:45 +0200 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-07-11 19:49:20 -0700 |
commit | e7bde1c581e41e396ab14275793f193ffbd5b2b1 (patch) | |
tree | 47dd7e60ac5d47fd355b5e67f1ba13555fa9f61c /include/linux/compiler-clang.h | |
parent | 1c151feddaf555e3af7a5cafb5481926f4f0489e (diff) |
net: dsa: hellcreek: Use the bitmap API to allocate bitmaps
Use devm_bitmap_zalloc() instead of hand-writing them.
It is less verbose and it improves the semantic.
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Acked-by: Kurt Kanzenbach <kurt@linutronix.de>
Link: https://lore.kernel.org/r/8306e2ae69a5d8553691f5d10a86a4390daf594b.1657376651.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/linux/compiler-clang.h')
0 files changed, 0 insertions, 0 deletions