Hi,
Please find the latest report on new defect(s) introduced to coreboot found with Coverity Scan.
1 new defect(s) introduced to coreboot found with Coverity Scan.
New defect(s) Reported-by: Coverity Scan Showing 1 of 1 defect(s)
** CID 1390566: Control flow issues (DEADCODE) /src/soc/mediatek/mt8173/spi.c: 262 in spi_ctrlr_xfer()
________________________________________________________________________________________________________ *** CID 1390566: Control flow issues (DEADCODE) /src/soc/mediatek/mt8173/spi.c: 262 in spi_ctrlr_xfer() 256 /* Driver implementation does not support full duplex. */ 257 if (bytes_in && bytes_out) 258 return -1; 259 260 while (bytes_out || bytes_in) { 261 if (bytes_in && bytes_out)
CID 1390566: Control flow issues (DEADCODE) Execution cannot reach the expression "min_size" inside this statement: "min_size = ((((bytes_out < ...".
262 min_size = MIN(MIN(bytes_out, bytes_in), MTK_FIFO_DEPTH); 263 else if (bytes_out) 264 min_size = MIN(bytes_out, MTK_FIFO_DEPTH); 265 else if (bytes_in) 266 min_size = MIN(bytes_in, MTK_FIFO_DEPTH); 267
________________________________________________________________________________________________________ To view the defects in Coverity Scan visit, https://u2389337.ct.sendgrid.net/wf/click?upn=08onrYu34A-2BWcWUl-2F-2BfV0V05...