[coreboot] New Defects reported by Coverity Scan for coreboot
scan-admin at coverity.com
scan-admin at coverity.com
Fri Aug 10 16:17:36 CEST 2018
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 1394711: Control flow issues (NO_EFFECT)
/src/mainboard/google/octopus/romstage.c: 46 in mainboard_save_dimm_info()
________________________________________________________________________________________________________
*** CID 1394711: Control flow issues (NO_EFFECT)
/src/mainboard/google/octopus/romstage.c: 46 in mainboard_save_dimm_info()
40 save_dimm_info_by_sku_config();
41 return;
42 }
43
44 if (!IS_ENABLED(CONFIG_DRAM_PART_NUM_ALWAYS_IN_CBI)) {
45 /* Fall back on part numbers encoded in lp4cfg array. */
>>> CID 1394711: Control flow issues (NO_EFFECT)
>>> This less-than-zero comparison of an unsigned value is never true. "board_id() < 0U".
46 if (board_id() < CONFIG_DRAM_PART_IN_CBI_BOARD_ID_MIN) {
47 save_dimm_info_by_sku_config();
48 return;
49 }
50 }
51
________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://u2389337.ct.sendgrid.net/wf/click?upn=08onrYu34A-2BWcWUl-2F-2BfV0V05UPxvVjWch-2Bd2MGckcRbLuoVetFLSjdonCi1EjfHRqWGQvojmmkYaBE-2BPJiTQvQ-3D-3D_q4bX76XMySz3BXBlWr5fXXJ4cvAsgEXEqC7dBPM7O5apr8tE1VwwI7Vhm26yDIE7bYyLAWm8oc29HcPm0DbJYYOkzWOHPyeoURr3JhP7T-2BdR8ONH5eJJgFeLHgIeSWpLDUrWFbcZXkshP65ISY-2F97HhPWWIzAlJIDDNHYqmQRp5nBI7gx7oEIiYqJTrCK0WZbL4-2FD9d-2BNRWH0X-2FwPTMEqkbulJQfBIrUu3L6V0hH8fg-3D
More information about the coreboot
mailing list