Hi,

Please find the latest report on new defect(s) introduced to coreboot found 
with Coverity Scan.

2 new defect(s) introduced to coreboot found with Coverity Scan.
3 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 2 of 2 defect(s)


** CID 1381709:  Null pointer dereferences  (FORWARD_NULL)
/src/soc/intel/skylake/pmutil.c: 220 in soc_get_gpi_gpe_configs()


________________________________________________________________________________________________________
*** CID 1381709:  Null pointer dereferences  (FORWARD_NULL)
/src/soc/intel/skylake/pmutil.c: 220 in soc_get_gpi_gpe_configs()
214     
215             /* Look up the device in devicetree */
216             DEVTREE_CONST struct device *dev = dev_find_slot(0, 
PCH_DEVFN_PMC);
217             if (!dev || !dev->chip_info) {
218                     printk(BIOS_ERR, "BUG! Could not find SOC devicetree 
config\n");
219             }
>>>     CID 1381709:  Null pointer dereferences  (FORWARD_NULL)
>>>     Dereferencing null pointer "dev".
220             config = dev->chip_info;
221     
222             /* Assign to out variable */
223             *dw0 = config->gpe0_dw0;
224             *dw1 = config->gpe0_dw1;
225             *dw2 = config->gpe0_dw2;

** CID 1381708:  Null pointer dereferences  (FORWARD_NULL)
/src/soc/intel/skylake/pmutil.c: 223 in soc_get_gpi_gpe_configs()


________________________________________________________________________________________________________
*** CID 1381708:  Null pointer dereferences  (FORWARD_NULL)
/src/soc/intel/skylake/pmutil.c: 223 in soc_get_gpi_gpe_configs()
217             if (!dev || !dev->chip_info) {
218                     printk(BIOS_ERR, "BUG! Could not find SOC devicetree 
config\n");
219             }
220             config = dev->chip_info;
221     
222             /* Assign to out variable */
>>>     CID 1381708:  Null pointer dereferences  (FORWARD_NULL)
>>>     Dereferencing null pointer "config".
223             *dw0 = config->gpe0_dw0;
224             *dw1 = config->gpe0_dw1;
225             *dw2 = config->gpe0_dw2;
226     }
227     
228     int rtc_failure(void)


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

To manage Coverity Scan email notifications for "coreboot@coreboot.org", click 
https://u2389337.ct.sendgrid.net/wf/click?upn=08onrYu34A-2BWcWUl-2F-2BfV0V05UPxvVjWch-2Bd2MGckcRbVDbis712qZDP-2FA8y06Nq4e-2BpBzwOa5gzBZa9dWpDbzfofODnVj1enK2UkK0-2BgCCqfkfgGF5ECMwHI0-2FVznrU953Dvw3Ddjop950pccFQ-2Br0qaXkQSgAjbZsF6g7Yem3Y-3D_q4bX76XMySz3BXBlWr5fXXJ4cvAsgEXEqC7dBPM7O5bhM5sobC01Hz4kk31dLX5CXj3vTJQKK-2F-2Bi2sLgXgNJbfQYRqvJ0JHLrk-2FnKIzCWVlbohONYyBgaVGXwqySQ71SJCbn90cHmtsBHOxt-2FOMYxcRByag-2BaapRarS4qwyLJHZpyUfbO8EOV33b-2FSH-2F7lUJjRLGdHwQ6MvppoQvVhddiq60DJfPdY3M-2BdEdtvS-2F1ko-3D


-- 
coreboot mailing list: coreboot@coreboot.org
https://mail.coreboot.org/mailman/listinfo/coreboot

Reply via email to