summaryrefslogtreecommitdiff
path: root/util/ectool
diff options
context:
space:
mode:
authorArthur Heymans <arthur@aheymans.xyz>2022-05-13 17:30:47 +0200
committerFelix Held <felix-coreboot@felixheld.de>2022-09-16 13:05:19 +0000
commit5d8fe86db2de0036b190e164e5926262404afcb8 (patch)
tree12f8f6cb7e4a72bf84acb0ed0e38d59e77f11697 /util/ectool
parent4d9748f87c500376ce015413c660e4ad58d4eef8 (diff)
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>
Diffstat (limited to 'util/ectool')
0 files changed, 0 insertions, 0 deletions