summaryrefslogtreecommitdiff
path: root/src/include/cpu/amd
diff options
context:
space:
mode:
authorYouness Alaoui <kakaroto@kakaroto.homelinux.net>2017-04-03 14:02:04 -0400
committerNico Huber <nico.h@gmx.de>2017-04-04 20:48:34 +0200
commitb85ddc787ee2e82712b95b2eb3b90f4b56698e41 (patch)
tree144b1f4c0669dad0ad38b1091dec908998e11ba9 /src/include/cpu/amd
parentcb7d6a19bb4fafaeb52e0ad3b6683dc3ac5e242e (diff)
util/intelmetool: Check for NULL return from pci_lookup_name
pci_lookup_name might return NULL from using format_name internally which could cause a crash when trying to print that value. We check for NULL and print a more appropriate value in that case. Change-Id: I499f0b5e1681f3926df0d8a325aab2c666ebd632 Signed-off-by: Youness Alaoui <youness.alaoui@puri.sm> Reviewed-on: https://review.coreboot.org/19089 Tested-by: build bot (Jenkins) Reviewed-by: Nico Huber <nico.h@gmx.de>
Diffstat (limited to 'src/include/cpu/amd')
0 files changed, 0 insertions, 0 deletions