Hi, Please find the latest report on new defect(s) introduced to coreboot found with Coverity Scan.
3 new defect(s) introduced to coreboot found with Coverity Scan. 42 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 3 of 3 defect(s) ** CID 1288406: Error handling issues (CHECKED_RETURN) /src/mainboard/emulation/qemu-riscv/mainboard.c: 29 in mainboard_enable() ________________________________________________________________________________________________________ *** CID 1288406: Error handling issues (CHECKED_RETURN) /src/mainboard/emulation/qemu-riscv/mainboard.c: 29 in mainboard_enable() 23 if (!dev) { 24 printk(BIOS_EMERG, "No dev0; die\n"); 25 while (1); 26 } 27 28 ram_resource(dev, 0, 2048, 32768); >>> CID 1288406: Error handling issues (CHECKED_RETURN) >>> Calling "cbmem_recovery" without checking return value (as is done >>> elsewhere 19 out of 21 times). 29 cbmem_recovery(0); 30 } 31 32 struct chip_operations mainboard_ops = { 33 .enable_dev = mainboard_enable, ________________________________________________________________________________________________________ To view the defects in Coverity Scan visit, https://scan.coverity.com/projects/1016?tab=overview To manage Coverity Scan email notifications for "coreboot@coreboot.org", click https://scan.coverity.com/subscriptions/edit?email=coreboot%40coreboot.org&token=8ddd1fe26945626880b796e94d465567 . -- coreboot mailing list: coreboot@coreboot.org http://www.coreboot.org/mailman/listinfo/coreboot