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.
BUG=none
BRANCH=none
TEST=none
Change-Id: I4dcf7aafb583473e1e6e5a9d2a3192743678fcb0
Signed-off-by: Patrick Georgi <pgeorgi@chromium.org>
Original-Commit-Id:
|
||
|---|---|---|
| .. | ||
| intelmetool.c | ||
| intelmetool.h | ||
| Makefile | ||
| me.c | ||
| me.h | ||
| me_status.c | ||
| mmap.c | ||
| mmap.h | ||