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. 3 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 1447050: Integer handling issues (CONSTANT_EXPRESSION_RESULT) /src/northbridge/intel/haswell/northbridge.c: 301 in mc_add_dram_resources()
________________________________________________________________________________________________________ *** CID 1447050: Integer handling issues (CONSTANT_EXPRESSION_RESULT) /src/northbridge/intel/haswell/northbridge.c: 301 in mc_add_dram_resources() 295 size_k = (0xa0000 >> 10) - base_k; 296 ram_resource(dev, index++, base_k, size_k); 297 298 /* 0xc0000 -> TSEG - DPR */ 299 base_k = 0xc0000 >> 10; 300 size_k = (unsigned long)(mc_values[TSEG_REG] >> 10) - base_k;
CID 1447050: Integer handling issues (CONSTANT_EXPRESSION_RESULT) "dpr.size >> 10" is 0 regardless of the values of its operands. This occurs as the operand of assignment.
301 size_k -= dpr.size >> 10; 302 ram_resource(dev, index++, base_k, size_k); 303 304 /* TSEG - DPR -> BGSM */ 305 resource = new_resource(dev, index++); 306 resource->base = mc_values[TSEG_REG] - dpr.size;
________________________________________________________________________________________________________ To view the defects in Coverity Scan visit, https://u15810271.ct.sendgrid.net/ls/click?upn=HRESupC-2F2Czv4BOaCWWCy7my0P0...