summaryrefslogtreecommitdiff
path: root/src/mainboard
diff options
context:
space:
mode:
authorJohn Zhao <john.zhao@intel.com>2020-09-22 11:12:37 -0700
committerPatrick Georgi <pgeorgi@google.com>2020-09-28 09:24:33 +0000
commit19e22f554e048edaca3ac56a4cf6d8698026e045 (patch)
tree0081d4405f790b95d9c57485d4b81f12f6784df6 /src/mainboard
parent920d2b77f274ab511d22bb4a0ff6aa9e5b37b4c8 (diff)
drivers/spi: Check return value for error handling
Coverity detects calling function spi_sdcard_do_command without checking return value. Fix this issue by checking return value for error handling. Found-by: Coverity CID 1407737 TEST=None Signed-off-by: John Zhao <john.zhao@intel.com> Change-Id: Ie0d28806b5c0b4c6d509e583d115358864eeff80 Reviewed-on: https://review.coreboot.org/c/coreboot/+/45620 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Diffstat (limited to 'src/mainboard')
0 files changed, 0 insertions, 0 deletions