[coreboot] New Defects reported by Coverity Scan for coreboot

scan-admin at coverity.com scan-admin at coverity.com
Sat Mar 28 01:09:36 CET 2015


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.
8 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 5 of 5 defect(s)


** CID 1291956:  Incorrect expression  (SIZEOF_MISMATCH)
/src/arch/arm64/c_entry.c: 77 in prepare_secondary_cpu_startup()


________________________________________________________________________________________________________
*** CID 1291956:  Incorrect expression  (SIZEOF_MISMATCH)
/src/arch/arm64/c_entry.c: 77 in prepare_secondary_cpu_startup()
71     }
72     
73     extern void arm64_cpu_startup(void);
74     void *prepare_secondary_cpu_startup(void)
75     {
76     	c_entry = &secondary_cpu_start;
>>>     CID 1291956:  Incorrect expression  (SIZEOF_MISMATCH)
>>>     Passing argument "c_entry" of type "void (*)(void)" and argument "8UL /* sizeof (c_entry) */" to function "dcache_clean_invalidate_by_mva" is suspicious.
77     	dcache_clean_invalidate_by_mva(c_entry, sizeof(c_entry));
78     
79     	return &arm64_cpu_startup;


________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://scan.coverity.com/projects/1016?tab=overview

To manage Coverity Scan email notifications for "coreboot at coreboot.org", click https://scan.coverity.com/subscriptions/edit?email=coreboot%40coreboot.org&token=49533df725f93b78361afb7b89ccde93 .




More information about the coreboot mailing list