diff options
author | Jacob Garber <jgarber1@ualberta.ca> | 2019-07-25 12:06:28 -0600 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2019-07-29 06:01:42 +0000 |
commit | 693c55c545809f12663831f1f67c9584fb9533cd (patch) | |
tree | c4b7655e3f1cb582b2dd9f4cb976a810e4af6509 /.gitreview | |
parent | 321daa86efebbe766afa4f6a023ecd6888be6ff8 (diff) |
soc/nvidia/tegra124: Assert divisor is non-zero
The logic for the calculation of plld.m is rather complicated, so do a
sanity check that it is non-zero before doing the division.
Change-Id: I60f49b8eed47a3de86713304bde7a4d3f3d935dd
Signed-off-by: Jacob Garber <jgarber1@ualberta.ca>
Found-by: Coverity CID 1260981
Reviewed-on: https://review.coreboot.org/c/coreboot/+/34572
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Julius Werner <jwerner@chromium.org>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Diffstat (limited to '.gitreview')
0 files changed, 0 insertions, 0 deletions