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 1430549: Null pointer dereferences (NULL_RETURNS)
________________________________________________________________________________________________________
*** CID 1430549: Null pointer dereferences (NULL_RETURNS)
/src/drivers/amd/i2s_machine_dev/i2s_machine_dev.c: 34 in
i2s_machine_dev_fill_ssdt()
28
29 if (dmic_select_gpio->pin_count == 0) {
30 printk(BIOS_ERR, "%s: ERROR: DMIC select GPIO required\n",
dev_path(dev));
31 return;
32 }
33
>>> CID 1430549: Null pointer dereferences (NULL_RETURNS)
>>> Dereferencing a pointer that might be "NULL" "scope" when calling
>>> "acpigen_write_scope".
34 acpigen_write_scope(scope); /* Scope */
35 acpigen_write_device(acpi_device_name(dev)); /* Device */
36 acpigen_write_name_string("_HID", cfg->hid);
37 acpigen_write_name_integer("_UID", cfg->uid);
38 acpigen_write_name_string("_DDN", AMD_I2S_ACPI_DESC);
39
________________________________________________________________________________________________________
To view the defects in Coverity Scan visit,
https://u15810271.ct.sendgrid.net/ls/click?upn=HRESupC-2F2Czv4BOaCWWCy7my0P0qcxCbhZ31OYv50yq2SfQfrHt3Prsn4qSLrYIrajINpiFX8l0vrlNSf8iCrS27qY0Cr0DkycwNUgGZJj8-3DaBqS_L-2FDzr14mnrsJO5b1wX1hp9b1MAQygl7x-2B74RAaH2cn2IoxrW79kt-2B9W3y0jkXjQilWV-2BkUmGssc2-2B4xXbLAUbbn-2BwWtdcZ0BkTM6EZ125DGTg8A-2BlD661aNISAcnspPN5jxQXvTKBwX7XlPbQnMV8NLcYecRVM8-2FQ0rhIFpZ0EGzzKjCFN1l7-2FzCWKIOlbhAL8LynWogqAB1S-2BSeW2TqVOBCljP0md-2Bfxb4ZFo8PaYE-3D
_______________________________________________
coreboot mailing list -- [email protected]
To unsubscribe send an email to [email protected]