]> git.baikalelectronics.ru Git - kernel.git/commit
EDAC/pci: Get rid of the silly one-shot memory allocation in edac_pci_alloc_ctl_info()
authorBorislav Petkov <bp@suse.de>
Tue, 8 Mar 2022 07:37:11 +0000 (08:37 +0100)
committerBorislav Petkov <bp@suse.de>
Mon, 11 Apr 2022 09:38:10 +0000 (11:38 +0200)
commit62c4a229b5ff2781fd03aa0b87fd3731d10fe530
tree698192a3f4e0275c6dc642bc8fcf3cbb87c79cce
parent4aba651e3062adbd09e7bba0409cb409cbfdb04c
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: Borislav Petkov <bp@suse.de>
Link: https://lore.kernel.org/r/20220310095254.1510-3-bp@alien8.de
drivers/edac/edac_pci.c