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-2BfV0V05UPxvVjWch-2Bd2MGckcRbLuoVetFLSjdonCi1EjfHRqWGQvojmmkYaBE-2BPJiTQvQ-3D-3D_q4bX76XMySz3BXBlWr5fXXJ4cvAsgEXEqC7dBPM7O5YNIoznByhpD-2F6ztrRuFcP5tzw9nbEK3vTfVITssVj-2BKW27l-2FsbBoVUi5aEO4ADz26HGEY0lZPRrXMeUOV0tB84dNXyZNSkPSwyRWrEByZmdNLdeRoAdYSlwlIxPY0tTQ6W92le0oCvxmV-2FNPkBppjwCJyUPOb-2B4IU2HpnfkmVOSJ3MBGHE1eU0yVxLTr2Z2qM-3D -- coreboot mailing list: coreboot@coreboot.org https://mail.coreboot.org/mailman/listinfo/coreboot