summaryrefslogtreecommitdiff
path: root/.clang-format
diff options
context:
space:
mode:
authorJacob Garber <jgarber1@ualberta.ca>2019-03-21 14:20:21 -0600
committerPatrick Georgi <pgeorgi@google.com>2019-04-08 14:12:59 +0000
commit42660cdda7020ab7056f219e9033c9d0f2f09239 (patch)
tree63b72b518423b0ba1dd32c6a7afee989ab7548bb /.clang-format
parenta12e9b0666e1a22958ea1fae87199a8b82266ee7 (diff)
downloadcoreboot-42660cdda7020ab7056f219e9033c9d0f2f09239.tar.xz
nb/amd/pi, mb/amd/bettong: Fix null pointer checks
The dev pointers were being dereferenced before the null check. Move the checks so they are done earlier. Found-by: Coverity Scan, CID 1241851 (REVERSE_INULL) Signed-off-by: Jacob Garber <jgarber1@ualberta.ca> Change-Id: Ie578787c3c26a1f3acb4567c135486667e88a888 Reviewed-on: https://review.coreboot.org/c/coreboot/+/32022 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Diffstat (limited to '.clang-format')
0 files changed, 0 insertions, 0 deletions