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 1362592:  Null pointer dereferences  (NULL_RETURNS)


________________________________________________________________________________________________________
*** CID 1362592:  Null pointer dereferences  (NULL_RETURNS)
/src/drivers/generic/max98357a/max98357a.c: 41 in max98357a_fill_ssdt()
35      struct acpi_dp *dp;
36     
37      if (!dev->enabled || !config)
38              return;
39     
40      /* Device */
>>>     CID 1362592:  Null pointer dereferences  (NULL_RETURNS)
>>>     Dereferencing a pointer that might be null "acpi_device_scope(dev)" 
>>> when calling "acpigen_write_scope".
41      acpigen_write_scope(acpi_device_scope(dev));
42      acpigen_write_device(acpi_device_name(dev));
43      acpigen_write_name_string("_HID", MAX98357A_ACPI_HID);
44      acpigen_write_name_integer("_UID", 0);
45      acpigen_write_name_string("_DDN", dev->chip_ops->name);
46      acpigen_write_STA(ACPI_STATUS_DEVICE_ALL_ON);


________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, 
https://u2389337.ct.sendgrid.net/wf/click?upn=08onrYu34A-2BWcWUl-2F-2BfV0V05UPxvVjWch-2Bd2MGckcRbLuoVetFLSjdonCi1EjfHRqWGQvojmmkYaBE-2BPJiTQvQ-3D-3D_q4bX76XMySz3BXBlWr5fXXJ4cvAsgEXEqC7dBPM7O5aFRtNPJFEnihR8DqbK0-2B-2BG9YZ4vmv1BJ8h1HhBBbuzNre8zk7Z6xUlKowCiz2nA6dAtmPp1reQ-2BfqlwfIn-2FXLc-2FWaB0Pq6cjpQLG6j-2Bys3tCe06lu-2FN267P0qylI-2B61YZ4rrCW9-2BK7a-2BnMEEkcCp8VoWdiKjoOEl8hsAy04rDLbw-3D-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-2BgCCqyeem8IVKvTxSaOFkteZFcnohwvb2rnYNjswGryEWCURnUk6WHU42sbOmtOjD-2Bx5c-3D_q4bX76XMySz3BXBlWr5fXXJ4cvAsgEXEqC7dBPM7O5aFRtNPJFEnihR8DqbK0-2B-2BGHnOuB1HphpVEnqsLjkXNZ2Y1lTAH7D9fMrXDvGttaSZaHki2CTvjVCMIXQxbBTyw8O2isLM4NDpME7-2FvOBpWhYQa-2FW6SeEE-2FTB9RZBoHSpFmd3wU-2BdZeSwWe0my-2B1I0PzMQliy1lpaBGqlUafUJBEQ-3D-3D


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

Reply via email to