Commit ac2efaa8 authored by Ethan Carter Edwards's avatar Ethan Carter Edwards Committed by Ard Biesheuvel
Browse files

efi: efibc: change kmalloc(size * count, ...) to kmalloc_array()

Open coded arithmetic in allocator arguments is discouraged. Helper
functions like kcalloc or, in this case, kmalloc_array are preferred.

Link: https://www.kernel.org/doc/html/latest/process/deprecated.html#open-coded-arithmetic-in-allocator-arguments



Signed-off-by: default avatarEthan Carter Edwards <ethan@ethancedwards.com>
Signed-off-by: default avatarArd Biesheuvel <ardb@kernel.org>
parent b6b227e3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment