diff options
author | 2021-12-07 22:03:11 -0600 | |
---|---|---|
committer | 2021-12-08 18:37:28 -0800 | |
commit | 9d922f5df53844228b9f7c62f2593f4f06c0b69b (patch) | |
tree | 4006ac5db705ca30cbab31448d6aa81900c5314b /net/core | |
parent | net: hinic: Use devm_kcalloc() instead of devm_kzalloc() (diff) | |
download | wireguard-linux-9d922f5df53844228b9f7c62f2593f4f06c0b69b.tar.xz wireguard-linux-9d922f5df53844228b9f7c62f2593f4f06c0b69b.zip |
net: huawei: hinic: Use devm_kcalloc() instead of devm_kzalloc()
Use 2-factor multiplication argument form devm_kcalloc() instead
of devm_kzalloc().
Link: https://github.com/KSPP/linux/issues/162
Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
Reviewed-by: Kees Cook <keescook@chromium.org>
Link: https://lore.kernel.org/r/20211208040311.GA169838@embeddedor
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/core')
0 files changed, 0 insertions, 0 deletions