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. 38 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 1368527: (UNINIT) /src/arch/riscv/mcall.c: 81 in mcall_set_timer() /src/arch/riscv/mcall.c: 84 in mcall_set_timer()
________________________________________________________________________________________________________ *** CID 1368527: (UNINIT) /src/arch/riscv/mcall.c: 81 in mcall_set_timer() 75 die("mcall_shutdown is currently not implemented"); 76 return 0; 77 } 78 79 uintptr_t mcall_set_timer(uint64_t when) 80 {
CID 1368527: (UNINIT) Using uninitialized value "sp".
81 uint64_t *timecmp = HLS()->timecmp; 82 83 if (mcalldebug) 84 printk(BIOS_SPEW, 85 "hart %d: HLS %p: mcall timecmp@%p to 0x%llx\n", 86 HLS()->hart_id, HLS(), timecmp, when); /src/arch/riscv/mcall.c: 84 in mcall_set_timer() 78 79 uintptr_t mcall_set_timer(uint64_t when) 80 { 81 uint64_t *timecmp = HLS()->timecmp; 82 83 if (mcalldebug)
CID 1368527: (UNINIT) Using uninitialized value "sp".
84 printk(BIOS_SPEW, 85 "hart %d: HLS %p: mcall timecmp@%p to 0x%llx\n", 86 HLS()->hart_id, HLS(), timecmp, when); 87 *timecmp = when; 88 clear_csr(mip, MIP_STIP); 89 set_csr(mie, MIP_MTIP);
________________________________________________________________________________________________________ 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...