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 1429974: Integer handling issues (CONSTANT_EXPRESSION_RESULT)
/src/soc/amd/picasso/bootblock/bootblock.c: 93 in write_resume_eip()
________________________________________________________________________________________________________
*** CID 1429974: Integer handling issues (CONSTANT_EXPRESSION_RESULT)
/src/soc/amd/picasso/bootblock/bootblock.c: 93 in write_resume_eip()
87 enable_cache();
88 }
89
90 static void write_resume_eip(void)
91 {
92 msr_t s3_resume_entry = {
>>> CID 1429974: Integer handling issues (CONSTANT_EXPRESSION_RESULT)
>>> "(uint64_t)(uintptr_t)bootblock_resume_entry >> 32" is 0 regardless of
>>> the values of its operands. This occurs as an initializer.
93 .hi = (uint64_t)(uintptr_t)bootblock_resume_entry >> 32,
94 .lo = (uintptr_t)bootblock_resume_entry & 0xffffffff,
95 };
96
97 /*
98 * Writing to the EIP register can only be done once, otherwise a fault
is triggered.
________________________________________________________________________________________________________
To view the defects in Coverity Scan visit,
https://u2389337.ct.sendgrid.net/ls/click?upn=nJaKvJSIH-2FPAfmty-2BK5tYpPklAc1eEA-2F1zfUjH6teExSZiGT4AO9dqB-2BC868xZOCag75Y7p1UmqAHPbZ6SCvYLXjumWuqPoaDGx7Muigyow-3DfPu4_L-2FDzr14mnrsJO5b1wX1hp9b1MAQygl7x-2B74RAaH2cn2hEP-2BGocTfkACbJpwoIIMzGb8ENa9zB9bPgidvPbxvaVvFJdRL3OA4QtAZNCGgpbyKN4u2-2FCGYrhn-2B9OgOr-2BgvLepQzpSH4O9E4-2Fbv5b8-2FQXgzJxJy-2B8W4R6OUkmliCwzdQQ5IZo5koyDjchMUbBPk09CZWXpUNH-2F-2Bodnn1MUzCA-3D-3D
_______________________________________________
coreboot mailing list -- [email protected]
To unsubscribe send an email to [email protected]