diff options
author | Jacob Garber <jgarber1@ualberta.ca> | 2019-07-15 13:18:00 -0600 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2019-08-20 15:19:23 +0000 |
commit | 137f41f2d405e050f539cf06b1e29b8ee77915fa (patch) | |
tree | ef9fb1a86e2ae10396acf651d2410c155d9b3876 /util | |
parent | 8216b46d7b9b88be4e31660362c4b9077670fd33 (diff) |
mb/amd/serengeti_cheetah_fam10: Add null pointer check
Print an error message and die if the PCI device cannot be found.
Change-Id: I10c58502658ebf12d1a8fe826ee7d47a618fd1c8
Signed-off-by: Jacob Garber <jgarber1@ualberta.ca>
Found-by: Coverity CID 1403000
Reviewed-on: https://review.coreboot.org/c/coreboot/+/34353
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'util')
0 files changed, 0 insertions, 0 deletions