Hello HAOUAS Elyes, Julius Werner, Christian Walter, build bot (Jenkins), Martin Roth, Patrick Georgi,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/34787
to look at the new patch set (#5).
Change subject: soc/nvidia/tegra210: Fix potential NULL pointer dereference ......................................................................
soc/nvidia/tegra210: Fix potential NULL pointer dereference
Recent Coverity scan indicated potential NULL deference; if either spi->dma_in or spi->dma_out are NULL, the fifo_error() check could dereference a NULL pointer.
Also fixed what appears to be a logic bug for the spi->dma_out case, where it was using the todo (count) from spi->dma_in.
Found-by: Coverity CID 1241838, 1241854 Change-Id: Icd1412f0956c0a4a75266d1873d5e9848aceee32 Signed-off-by: Tim Wawrzynczak twawrzynczak@chromium.org --- M src/soc/nvidia/tegra210/spi.c 1 file changed, 25 insertions(+), 21 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/87/34787/5