summaryrefslogtreecommitdiff
path: root/src/lib/rmodule.c
diff options
context:
space:
mode:
authorJacob Garber <jgarber1@ualberta.ca>2019-06-10 17:29:18 -0600
committerPatrick Georgi <pgeorgi@google.com>2019-07-10 10:15:26 +0000
commit64fb4a32e0b7e51f25f530d232fefc14c7523def (patch)
tree5f9505fd84934de752d4f9835b40186726367e88 /src/lib/rmodule.c
parentb3af349284c3fbe14ee55c48652fb46ddeb80484 (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 'src/lib/rmodule.c')
0 files changed, 0 insertions, 0 deletions