commit | 8bbb764818f8ebf71bd14bd6ff90ad233646cc3b | [log] [tgz] |
---|---|---|
author | Patrick Georgi <pgeorgi@google.com> | Sat May 02 16:07:11 2020 +0200 |
committer | Patrick Georgi <pgeorgi@google.com> | Tue May 05 13:06:17 2020 +0000 |
tree | 907e51e094d3428ddacb0af2a0de5541777dda6b | |
parent | 757e89243efd7e783923d486c542a692072e0111 [diff] |
spi95: Check for success before using send_command's returned data If the transfer failed, the data might be invalid. Change-Id: I3ad9daa00a54e2a3954983cec91b6685f1a98880 Found-By: Coverity Scan #1405870 Signed-off-by: Patrick Georgi <pgeorgi@google.com> Reviewed-on: https://review.coreboot.org/c/flashrom/+/40970 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>