]> git.baikalelectronics.ru Git - kernel.git/commit
net: mana: Use kcalloc() instead of kzalloc()
authorGustavo A. R. Silva <gustavoars@kernel.org>
Wed, 6 Oct 2021 18:09:27 +0000 (13:09 -0500)
committerJakub Kicinski <kuba@kernel.org>
Thu, 7 Oct 2021 16:08:24 +0000 (09:08 -0700)
commit4559a2c85fbcce0d50b0da65b8cb8f9ced3da3de
tree51843278ff323593624aa5bd550ee5d02938e5eb
parent40028770121613db0577ddd7486a75a7b0b25460
net: mana: Use kcalloc() instead of kzalloc()

Use 2-factor multiplication argument form kcalloc() instead
of kzalloc().

Link: https://github.com/KSPP/linux/issues/162
Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
Reviewed-by: Dexuan Cui <decui@microsoft.com>
Link: https://lore.kernel.org/r/20211006180927.GA913456@embeddedor
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/microsoft/mana/hw_channel.c