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 1375565:  Control flow issues  (DEADCODE)
/src/drivers/spi/spi_flash.c: 303 in spi_flash_generic_probe()


________________________________________________________________________________________________________
*** CID 1375565:  Control flow issues  (DEADCODE)
/src/drivers/spi/spi_flash.c: 303 in spi_flash_generic_probe()
297                     for (i = 0; i < sizeof(idcode); i++)
298                             printk(BIOS_SPEW, "%02x ", idcode[i]);
299                     printk(BIOS_SPEW, "\n");
300             }
301     
302             /* count the number of continuation bytes */
>>>     CID 1375565:  Control flow issues  (DEADCODE)
>>>     Execution cannot reach the expression "*idp == 127" inside this 
>>> statement: "for ((shift = 0) , (idp = i...".
303             for (shift = 0, idp = idcode; shift < IDCODE_CONT_LEN && *idp 
== 0x7f;
304                  ++shift, ++idp)
305                     continue;
306     
307             printk(BIOS_INFO, "Manufacturer: %02x\n", *idp);
308     


________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, 
https://u2389337.ct.sendgrid.net/wf/click?upn=08onrYu34A-2BWcWUl-2F-2BfV0V05UPxvVjWch-2Bd2MGckcRbLuoVetFLSjdonCi1EjfHRqWGQvojmmkYaBE-2BPJiTQvQ-3D-3D_q4bX76XMySz3BXBlWr5fXXJ4cvAsgEXEqC7dBPM7O5bVeAcn-2Fh6tOA63b8ypNiIWQjS5VHYifBDyeOXkdVtEFrMAZJVdo4xbUPBTyR3-2ByaBjOxK5iXd6htSUPwWLEjQsw1NLRbfiKYVSwNz7Ps-2FLN7ZrdjdTPbspPSuhcPIORi6AYBJcmQtDW6xxzr6vJvYfKFVJKsRIn-2FEY5s9MtmShHz-2FtXMyrjdScAtVOx-2F6z0ac-3D

To manage Coverity Scan email notifications for "[email protected]", click 
https://u2389337.ct.sendgrid.net/wf/click?upn=08onrYu34A-2BWcWUl-2F-2BfV0V05UPxvVjWch-2Bd2MGckcRbVDbis712qZDP-2FA8y06Nq4e-2BpBzwOa5gzBZa9dWpDbzfofODnVj1enK2UkK0-2BgCCqyeem8IVKvTxSaOFkteZFcnohwvb2rnYNjswGryEWCURnUk6WHU42sbOmtOjD-2Bx5c-3D_q4bX76XMySz3BXBlWr5fXXJ4cvAsgEXEqC7dBPM7O5bVeAcn-2Fh6tOA63b8ypNiIWycZmEBMeJ-2F8GJgKyYqLn-2FUTrQnu2QqLn89kkfoP0g3e1tKltZCLAg3wXS-2FusBRql9eEUn7tb7rKIEnqqWIxDpQuccVBWHqjWGcBuKg0wWygPnZzOzba58sOZNeZ8GglL0P3n0JyjzVbfTVM8knvpFVl4WrS7HtO-2Fp2NympUzth0-3D


-- 
coreboot mailing list: [email protected]
https://mail.coreboot.org/mailman/listinfo/coreboot

Reply via email to