diff options
author | Jacob Garber <jgarber1@ualberta.ca> | 2019-06-10 17:29:18 -0600 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2019-07-10 10:15:26 +0000 |
commit | 64fb4a32e0b7e51f25f530d232fefc14c7523def (patch) | |
tree | 5f9505fd84934de752d4f9835b40186726367e88 /util/viatool/viatool.c | |
parent | b3af349284c3fbe14ee55c48652fb46ddeb80484 (diff) |
nb/intel/nehalem: Die if no memory ranks found
Die if there are no memory ranks found to prevent a division by zero.
Change-Id: I6146dd8420f3734d1a672a9f29a098f47fcb739c
Signed-off-by: Jacob Garber <jgarber1@ualberta.ca>
Found-by: Coverity CID 1229628
Reviewed-on: https://review.coreboot.org/c/coreboot/+/33403
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr>
Reviewed-by: Nico Huber <nico.h@gmx.de>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'util/viatool/viatool.c')
0 files changed, 0 insertions, 0 deletions