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 1393312: Null pointer dereferences (REVERSE_INULL) /src/drivers/i2c/generic/generic.c: 222 in i2c_generic_enable()
________________________________________________________________________________________________________ *** CID 1393312: Null pointer dereferences (REVERSE_INULL) /src/drivers/i2c/generic/generic.c: 222 in i2c_generic_enable() 216 } 217 } 218 219 dev->ops = &i2c_generic_ops; 220 221 /* Name the device as per description provided in devicetree */
CID 1393312: Null pointer dereferences (REVERSE_INULL) Null-checking "config" suggests that it may be null, but it has already been dereferenced on all paths leading to the check.
222 if (config && config->desc) { 223 dev->name = config->desc; 224 } 225 } 226 227 struct chip_operations drivers_i2c_generic_ops = { 228 CHIP_NAME("I2C Device") 229 .enable_dev = &i2c_generic_enable
________________________________________________________________________________________________________ To view the defects in Coverity Scan visit, https://u2389337.ct.sendgrid.net/wf/click?upn=08onrYu34A-2BWcWUl-2F-2BfV0V05...