diff options
author | Furquan Shaikh <furquan@google.com> | 2018-06-10 13:33:44 -0700 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2018-06-12 11:11:42 +0000 |
commit | 24681f188ac868c0bc9b3f1fc55732f0ec6a08fe (patch) | |
tree | 2776898aa13170740b7de1df59b445f74d06d03a /src/lib/rtc.c | |
parent | e9147bdf119d843bf15212ef55ed5d2a311c1421 (diff) |
drivers/i2c/generic: Ensure config is not NULL before accessing it
This change checks to ensure that config is not NULL before it is
accessed for the first time.
Reported by: Coverity CID #1393312
Change-Id: Ic248c79783da9c2bfdf3b7f737e5963feff7558c
Signed-off-by: Furquan Shaikh <furquan@google.com>
Reviewed-on: https://review.coreboot.org/27009
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Naresh Solanki <naresh.solanki@intel.com>
Diffstat (limited to 'src/lib/rtc.c')
0 files changed, 0 insertions, 0 deletions