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. 1 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 1372941: Control flow issues (UNREACHABLE) /src/northbridge/intel/i945/debug.c: 86 in dump_spd_registers()
________________________________________________________________________________________________________ *** CID 1372941: Control flow issues (UNREACHABLE) /src/northbridge/intel/i945/debug.c: 86 in dump_spd_registers() 80 device = DIMM0; 81 while (device <= DIMM3) { 82 int status = 0; 83 int i; 84 printk(BIOS_DEBUG, "\ndimm %02x", device); 85
CID 1372941: Control flow issues (UNREACHABLE) Since the loop increment "i++;" is unreachable, the loop body will never execute more than once.
86 for (i = 0; (i < 256); i++) { 87 if ((i % 16) == 0) 88 printk(BIOS_DEBUG, "\n%02x: ", i); 89 status = smbus_read_byte(device, i); 90 if (status < 0) 91 printk(BIOS_DEBUG, "bad device: %02x\n", -status);
________________________________________________________________________________________________________ To view the defects in Coverity Scan visit, https://u2389337.ct.sendgrid.net/wf/click?upn=08onrYu34A-2BWcWUl-2F-2BfV0V05...
To manage Coverity Scan email notifications for "coreboot@coreboot.org", click https://u2389337.ct.sendgrid.net/wf/click?upn=08onrYu34A-2BWcWUl-2F-2BfV0V05...