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. 4 defect(s), reported by Coverity Scan earlier, were marked fixed in the recent build analyzed by Coverity Scan.
New defect(s) Reported-by: Coverity Scan Showing 1 of 1 defect(s)
** CID 1500400: Null pointer dereferences (NULL_RETURNS)
________________________________________________________________________________________________________ *** CID 1500400: Null pointer dereferences (NULL_RETURNS) /src/mainboard/google/dedede/smihandler.c: 76 in mainboard_config_cbi_wp() 70 * HW WP | SW WP | CBI WP 71 * ------|-------|------- 72 * 0 | X | 0 73 * 1 | 0 | 0 74 * 1 | 1 | 1 75 */
CID 1500400: Null pointer dereferences (NULL_RETURNS) Dereferencing a pointer that might be "NULL" "spi_flash_dev" when calling "spi_flash_status".
76 if (spi_flash_status(spi_flash_dev, &sr1) < 0) { 77 printk(BIOS_ERR, "MB: Failed to read SPI status register 1\n"); 78 printk(BIOS_ERR, "MB: CBI EEPROM WP cannot change!"); 79 return; 80 } 81
________________________________________________________________________________________________________ To view the defects in Coverity Scan visit, https://u15810271.ct.sendgrid.net/ls/click?upn=HRESupC-2F2Czv4BOaCWWCy7my0P0...