[coreboot-gerrit] Change in coreboot[master]: drivers/i2c/generic: Ensure config is not NULL before accessing it

Furquan Shaikh (Code Review) gerrit at coreboot.org
Sun Jun 10 22:40:25 CEST 2018


Furquan Shaikh has uploaded a new patch set (#2). ( https://review.coreboot.org/27009 )

Change subject: drivers/i2c/generic: Ensure config is not NULL before accessing it
......................................................................

drivers/i2c/generic: Ensure config is not NULL before accessing it

This change checks to ensure that config is not NULL before it is
accessed for the first time.

Reported by: Coverity CID #1393312

Change-Id: Ic248c79783da9c2bfdf3b7f737e5963feff7558c
Signed-off-by: Furquan Shaikh <furquan at google.com>
---
M src/drivers/i2c/generic/generic.c
1 file changed, 4 insertions(+), 2 deletions(-)


  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/09/27009/2
-- 
To view, visit https://review.coreboot.org/27009
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Ic248c79783da9c2bfdf3b7f737e5963feff7558c
Gerrit-Change-Number: 27009
Gerrit-PatchSet: 2
Gerrit-Owner: Furquan Shaikh <furquan at google.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20180610/8af549e7/attachment.html>


More information about the coreboot-gerrit mailing list