[coreboot] New Defects reported by Coverity Scan for coreboot

scan-admin at coverity.com scan-admin at coverity.com
Tue Apr 25 14:14:04 CEST 2017


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.


New defect(s) Reported-by: Coverity Scan
Showing 1 of 1 defect(s)


** CID 1374543:  Possible Control flow issues  (DEADCODE)
/src/mainboard/intel/d510mo/romstage.c: 143 in mainboard_romstage_entry()


________________________________________________________________________________________________________
*** CID 1374543:  Possible Control flow issues  (DEADCODE)
/src/mainboard/intel/d510mo/romstage.c: 143 in mainboard_romstage_entry()
137     	rcba_config();
138     
139     	cbmem_was_initted = !cbmem_recovery(s3resume);
140     
141     	if (!cbmem_was_initted && s3resume) {
142     		/* Failed S3 resume, reset to come up cleanly */
>>>     CID 1374543:  Possible Control flow issues  (DEADCODE)
>>>     Execution cannot reach this statement: "outb(6, 3321);".
143     		outb(0x6, 0xcf9);
144     		halt();
145     	}
146     
147     	romstage_handoff_init(s3resume);


________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://u2389337.ct.sendgrid.net/wf/click?upn=08onrYu34A-2BWcWUl-2F-2BfV0V05UPxvVjWch-2Bd2MGckcRbLuoVetFLSjdonCi1EjfHRqWGQvojmmkYaBE-2BPJiTQvQ-3D-3D_q4bX76XMySz3BXBlWr5fXXJ4cvAsgEXEqC7dBPM7O5Ym0tzw9O7xirNhL4No4qzEAGIwPWSgVDQeIrnm9wvVA4QwUdewzD2QcHrhSoGf7wCVTcNoTbwg492syqEFj9eT4kTQqaShE3aQPnvAQ6B0jZGrEV6v-2BR5xx0GLHawjawYhEYg5SPoQtQ2G4cmv25tmMJ61x9nI9aa43uksIXXtMH0iW7n0wR60u7Ecp4JeqBg-3D

To manage Coverity Scan email notifications for "coreboot at coreboot.org", click https://u2389337.ct.sendgrid.net/wf/click?upn=08onrYu34A-2BWcWUl-2F-2BfV0V05UPxvVjWch-2Bd2MGckcRbVDbis712qZDP-2FA8y06Nq4e-2BpBzwOa5gzBZa9dWpDbzfofODnVj1enK2UkK0-2BgCCqyeem8IVKvTxSaOFkteZFcnohwvb2rnYNjswGryEWCURnUk6WHU42sbOmtOjD-2Bx5c-3D_q4bX76XMySz3BXBlWr5fXXJ4cvAsgEXEqC7dBPM7O5Ym0tzw9O7xirNhL4No4qzEGHbN9DoQ8fCbTNFZOVOYukc6nyM-2BdelaxF-2BJ83o9ASYlf-2Bnp3btApN3-2FUYFVbOJrw3KB9lYpPwyKG6Bj4ls7Y8-2F3yaoC3Ui-2FlxBG4gkqXN7gFWtNCR8PrmAIT9QwwCTKB9zBB42NeUhHJ91DHiKhPp-2B86D2TnxQfWdWeoHhLJiw-3D




More information about the coreboot mailing list