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.
2 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 1489753:  Null pointer dereferences  (NULL_RETURNS)


________________________________________________________________________________________________________
*** CID 1489753:  Null pointer dereferences  (NULL_RETURNS)
/src/drivers/i2c/generic/generic.c: 71 in i2c_generic_fill_ssdt()
65              printk(BIOS_ERR, "%s: ERROR: HID required\n", dev_path(dev));
66              return;
67      }
68     
69      if (config->detect) {
70              struct device *const busdev = i2c_busdev(dev);
>>>     CID 1489753:  Null pointer dereferences  (NULL_RETURNS)
>>>     Dereferencing a pointer that might be "NULL" "busdev" when calling 
>>> "i2c_dev_detect".
71              if (!i2c_dev_detect(busdev, dev->path.i2c.device)) {
72                      printk(BIOS_SPEW, "%s: %s at %s -- NOT FOUND, 
skipping\n",
73                              path,
74                              config->desc ? : dev->chip_ops->name,
75                              dev_path(dev));
76                      return;


________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, 
https://u15810271.ct.sendgrid.net/ls/click?upn=HRESupC-2F2Czv4BOaCWWCy7my0P0qcxCbhZ31OYv50yq2SfQfrHt3Prsn4qSLrYIrajINpiFX8l0vrlNSf8iCrS27qY0Cr0DkycwNUgGZJj8-3D9cSV_L-2FDzr14mnrsJO5b1wX1hp9b1MAQygl7x-2B74RAaH2cn3GkOYs9sFcMfgZmFOVN4Z-2FJwgg59H6kablUngTCsQxnsJH88W9OGEP5PFYhQkF7ZqSBPfM5pUxaVhbyUpE3gb9krnNRTJHGGClTZMzACXNJ5qtewn03-2F6T9rPIGCufuLgmNGr65ZJAhfU6YHzB6v-2FPp3bpJ87RHFZca3G9-2BdMRpg-3D-3D

_______________________________________________
coreboot mailing list -- coreboot@coreboot.org
To unsubscribe send an email to coreboot-le...@coreboot.org

Reply via email to