diff options
| author | Christophe JAILLET <[email protected]> | 2021-10-24 19:17:51 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2021-10-25 14:42:24 +0000 |
| commit | 2c087dfcc9d5e7e8557d217f01f58ba42d1ddbf1 (patch) | |
| tree | d85d8a6839263a69623d8eea3f1d2025b9eee43e /net/tls/tls_main.c | |
| parent | usbb: catc: use correct API for MAC addresses (diff) | |
| download | kernel-2c087dfcc9d5e7e8557d217f01f58ba42d1ddbf1.tar.gz kernel-2c087dfcc9d5e7e8557d217f01f58ba42d1ddbf1.zip | |
mlxsw: spectrum: Use 'bitmap_zalloc()' when applicable
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.
Signed-off-by: Christophe JAILLET <[email protected]>
Reviewed-by: Ido Schimmel <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/tls/tls_main.c')
0 files changed, 0 insertions, 0 deletions
