coreboot-kgpe-d16/src
Arthur Heymans 5d8fe86db2 drivers/usb/hub/acpi.c: Don't use heap for ACPI name
Using malloc would increase the heap use each time this function is
called. Instead allocate a per struct device buffer inside the
chip_info struct.

Found by coverity scan, CID 1488815.

Change-Id: Ie24870b34338624b3bf3a6f420debdd24a68ffbd
Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/64338
Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-by: Karthik Ramasubramanian <kramasub@google.com>
2022-09-16 13:05:19 +00:00
..
acpi
arch 3rdparty/opensbi: Update to latest ToT 2022-09-14 20:12:56 +00:00
commonlib
console console/vtxprintf.c: Use | operator for bit operation instead of + 2022-09-14 14:06:34 +00:00
cpu soc/amd: Do SMM relocation via MSR 2022-09-15 14:47:52 +00:00
device device/dram: Reformat code 2022-09-13 13:06:05 +00:00
drivers drivers/usb/hub/acpi.c: Don't use heap for ACPI name 2022-09-16 13:05:19 +00:00
ec timer: Change timer util functions to 64-bit 2022-09-14 11:55:39 +00:00
include Revert "drivers/wifi: Move MTL Magnetar CNVi DIDs from SoC to generic driver" 2022-09-16 05:37:05 +00:00
lib timer: Change timer util functions to 64-bit 2022-09-14 11:55:39 +00:00
mainboard mb/google/nissa/var/nivviks: Enable nau8825 ADCOUT 2022-09-16 12:08:19 +00:00
northbridge soc/amd/common: Add common function to get cpu count 2022-09-14 20:28:37 +00:00
sbom
security src/security: Use "if (!ptr)" in preference to "if (ptr == NULL)" 2022-09-15 13:02:33 +00:00
soc soc/intel/common: Update comment on HFSTS1.spi_protection_mode 2022-09-16 12:07:06 +00:00
southbridge timer: Change timer util functions to 64-bit 2022-09-14 11:55:39 +00:00
superio
vendorcode
Kconfig