diff options
author | Furquan Shaikh <furquan@google.com> | 2018-06-22 10:15:04 -0700 |
---|---|---|
committer | Furquan Shaikh <furquan@google.com> | 2018-06-24 06:49:00 +0000 |
commit | a7e925027ff3b2fe7530ca886939bbeea7c906b7 (patch) | |
tree | f913319bbb3c4f6f31786b65c289a4be6946e6c2 /src/southbridge/amd/cs5536 | |
parent | 65ddbb720b1d5e7bcf32a3e112f06f5afbeb1100 (diff) |
drivers/i2c/sx9310: Check for config not being NULL before using it
This change fixes the issue reported by Coverity CID 1393576 to ensure
that config is checked for NULL before it is actually used.
Change-Id: I5f0cd2bf2437fc640f4cf8d8203a971daf1f8d17
Signed-off-by: Furquan Shaikh <furquan@google.com>
Reviewed-on: https://review.coreboot.org/27207
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-by: Enrico Granata <egranata@google.com>
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Diffstat (limited to 'src/southbridge/amd/cs5536')
0 files changed, 0 insertions, 0 deletions