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 1401086:  Null pointer dereferences  (FORWARD_NULL)


________________________________________________________________________________________________________
*** CID 1401086:  Null pointer dereferences  (FORWARD_NULL)
/src/soc/qualcomm/qcs405/clock.c: 246 in clock_configure_spi()
240             } else if (blsp == 2)
241                     spi_clk = (struct qcs405_clock 
*)&gcc->blsp2_qup0_spi_clk;
242     
243             else
244                     printk(BIOS_ERR, "BLSP%d not supported\n", blsp);
245     
>>>     CID 1401086:  Null pointer dereferences  (FORWARD_NULL)
>>>     Passing null pointer "spi_clk" to "clock_configure", which dereferences 
>>> it.
246             clock_configure(spi_clk, spi_cfg, hz, ARRAY_SIZE(spi_cfg));
247     }
248     
249     void clock_enable_uart(void)
250     {
251             clock_enable(&gcc->blsp1_uart2_apps_cbcr);


________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, 
https://u2389337.ct.sendgrid.net/wf/click?upn=08onrYu34A-2BWcWUl-2F-2BfV0V05UPxvVjWch-2Bd2MGckcRbLuoVetFLSjdonCi1EjfHRqWGQvojmmkYaBE-2BPJiTQvaU4HClancRgJSp1vcdHRWU-3D_q4bX76XMySz3BXBlWr5fXXJ4cvAsgEXEqC7dBPM7O5ZsOPevWCVPIOBqTMSc54ym-2BMs-2B4bo8BBKCF6B-2FrNIyp0U-2Fx7YBJvDGcqflnZbByvZa2XOdrjXtIXb7fRsLhBeqY-2FEuZf0XIR6WF8N2CgCAllSc0xRjEs5i2jKcUm3S6STWtKuTaSjKP5Qgv422vGUB50BO8Fp24iDutkQqicBmPzMDgPvlL15QfvOgMDzMQcM-3D
_______________________________________________
coreboot mailing list -- coreboot@coreboot.org
To unsubscribe send an email to coreboot-le...@coreboot.org

Reply via email to