Hi,
Please find the latest report on new defect(s) introduced to coreboot found with Coverity Scan.
5 new defect(s) introduced to coreboot found with Coverity Scan.
New defect(s) Reported-by: Coverity Scan Showing 5 of 5 defect(s)
** CID 1381373: Control flow issues (MISSING_BREAK) /src/device/dram/ddr2.c: 197 in spd_decode_tRR_time()
________________________________________________________________________________________________________ *** CID 1381373: Control flow issues (MISSING_BREAK) /src/device/dram/ddr2.c: 197 in spd_decode_tRR_time() 191 switch (c) { 192 default: 193 printk(BIOS_WARNING, "Invalid tRR value 0x%x\n", c); 194 return CB_ERR; 195 case 0x80: 196 *tRR = 15625 << 8;
CID 1381373: Control flow issues (MISSING_BREAK) The above case falls through to this one.
197 case 0x81: 198 *tRR = 15625 << 6; 199 case 0x82: 200 *tRR = 15625 << 7; 201 case 0x83: 202 *tRR = 15625 << 9;
** CID 1381372: Control flow issues (MISSING_BREAK) /src/device/dram/ddr2.c: 199 in spd_decode_tRR_time()
________________________________________________________________________________________________________ *** CID 1381372: Control flow issues (MISSING_BREAK) /src/device/dram/ddr2.c: 199 in spd_decode_tRR_time() 193 printk(BIOS_WARNING, "Invalid tRR value 0x%x\n", c); 194 return CB_ERR; 195 case 0x80: 196 *tRR = 15625 << 8; 197 case 0x81: 198 *tRR = 15625 << 6;
CID 1381372: Control flow issues (MISSING_BREAK) The above case falls through to this one.
199 case 0x82: 200 *tRR = 15625 << 7; 201 case 0x83: 202 *tRR = 15625 << 9; 203 case 0x84: 204 *tRR = 15625 << 10;
** CID 1381371: Control flow issues (MISSING_BREAK) /src/device/dram/ddr2.c: 203 in spd_decode_tRR_time()
________________________________________________________________________________________________________ *** CID 1381371: Control flow issues (MISSING_BREAK) /src/device/dram/ddr2.c: 203 in spd_decode_tRR_time() 197 case 0x81: 198 *tRR = 15625 << 6; 199 case 0x82: 200 *tRR = 15625 << 7; 201 case 0x83: 202 *tRR = 15625 << 9;
CID 1381371: Control flow issues (MISSING_BREAK) The above case falls through to this one.
203 case 0x84: 204 *tRR = 15625 << 10; 205 case 0x85: 206 *tRR = 15625 << 11; 207 } 208 return CB_SUCCESS;
** CID 1381370: Control flow issues (MISSING_BREAK) /src/device/dram/ddr2.c: 205 in spd_decode_tRR_time()
________________________________________________________________________________________________________ *** CID 1381370: Control flow issues (MISSING_BREAK) /src/device/dram/ddr2.c: 205 in spd_decode_tRR_time() 199 case 0x82: 200 *tRR = 15625 << 7; 201 case 0x83: 202 *tRR = 15625 << 9; 203 case 0x84: 204 *tRR = 15625 << 10;
CID 1381370: Control flow issues (MISSING_BREAK) The above case falls through to this one.
205 case 0x85: 206 *tRR = 15625 << 11; 207 } 208 return CB_SUCCESS; 209 } 210
** CID 1381369: Control flow issues (MISSING_BREAK) /src/device/dram/ddr2.c: 201 in spd_decode_tRR_time()
________________________________________________________________________________________________________ *** CID 1381369: Control flow issues (MISSING_BREAK) /src/device/dram/ddr2.c: 201 in spd_decode_tRR_time() 195 case 0x80: 196 *tRR = 15625 << 8; 197 case 0x81: 198 *tRR = 15625 << 6; 199 case 0x82: 200 *tRR = 15625 << 7;
CID 1381369: Control flow issues (MISSING_BREAK) The above case falls through to this one.
201 case 0x83: 202 *tRR = 15625 << 9; 203 case 0x84: 204 *tRR = 15625 << 10; 205 case 0x85: 206 *tRR = 15625 << 11;
________________________________________________________________________________________________________ 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...