summaryrefslogtreecommitdiff
path: root/net/ipv4
diff options
context:
space:
mode:
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>2021-11-21 22:56:39 +0100
committerDavid S. Miller <davem@davemloft.net>2021-11-22 14:32:54 +0000
commite9268a94399899a3ad797d37d611d9e41f65e8e7 (patch)
tree0be24dfa1ef30a7f1014385dc13ca5dd0d59d770 /net/ipv4
parent5e6c7ccd3ea4b25dd6b4b0363859913f315deacb (diff)
downloadlinux-e9268a94399899a3ad797d37d611d9e41f65e8e7.tar.gz
linux-e9268a94399899a3ad797d37d611d9e41f65e8e7.tar.bz2
linux-e9268a94399899a3ad797d37d611d9e41f65e8e7.zip
hv_netvsc: Use bitmap_zalloc() when applicable
'send_section_map' 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. While at it, change an '== NULL' test into a '!'. Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4')
0 files changed, 0 insertions, 0 deletions