diff options
author | Angel Pons <th3fanbus@gmail.com> | 2021-07-13 19:08:31 +0200 |
---|---|---|
committer | Tim Wawrzynczak <twawrzynczak@chromium.org> | 2021-07-14 21:26:47 +0000 |
commit | dd405bc018e3730d0afddfd1cc5f18c6d5fd9794 (patch) | |
tree | 985c2d19cfc877aaea6e2381b8dd0bf451b14c69 /src/drivers/i2c/max98373 | |
parent | afab34c3720f673a7edebefe6615ff622253d93e (diff) |
drivers/usb/acpi: Avoid dereferencing maybe-NULL pointer
Do not dereference a pointer before checking whether it is NULL.
Change-Id: Icbe9ae99d91fd587d8e56cf3a0dcb59834ee6d07
Found-by: Coverity CID 1458232
Signed-off-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/56266
Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Reviewed-by: Furquan Shaikh <furquan@google.com>
Reviewed-by: Raul Rangel <rrangel@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/drivers/i2c/max98373')
0 files changed, 0 insertions, 0 deletions