Skip to content
Commit fb8cd45c authored by Borislav Petkov's avatar Borislav Petkov
Browse files

EDAC/pci: Get rid of the silly one-shot memory allocation in edac_pci_alloc_ctl_info()



Use boring kzalloc() instead.

There should be no functional changes resulting from this.

Signed-off-by: default avatarBorislav Petkov <bp@suse.de>
Link: https://lore.kernel.org/r/20220310095254.1510-3-bp@alien8.de
parent 0bbb265f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment