[coreboot-gerrit] Change in coreboot[master]: intel/common/block: Fix issues found by klockwork

John Zhao (Code Review) gerrit at coreboot.org
Mon Aug 13 20:18:23 CEST 2018


John Zhao has posted comments on this change. ( https://review.coreboot.org/28060 )

Change subject: intel/common/block: Fix issues found by klockwork
......................................................................


Patch Set 2:

(1 comment)

https://review.coreboot.org/#/c/28060/1/src/soc/intel/common/block/cpu/mp_init.c
File src/soc/intel/common/block/cpu/mp_init.c:

https://review.coreboot.org/#/c/28060/1/src/soc/intel/common/block/cpu/mp_init.c@137
PS1, Line 137: assert
> Note that asserts are typically non-fatal in coreboot, so this may not fix your issue.
Links are downstream buses attached to the device as:
DEVTREE_CONST struct bus *link_list
assert(dev->link_list != NULL) would avoid NULL pointer to be dereferenced.



-- 
To view, visit https://review.coreboot.org/28060
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I5e7caa15a3911e05ff346d338493673af5318a51
Gerrit-Change-Number: 28060
Gerrit-PatchSet: 2
Gerrit-Owner: John Zhao <john.zhao at intel.com>
Gerrit-Reviewer: John Zhao <john.zhao at intel.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply at coreboot.org>
Gerrit-CC: Martin Roth <martinroth at google.com>
Gerrit-Comment-Date: Mon, 13 Aug 2018 18:18:23 +0000
Gerrit-HasComments: Yes
Gerrit-HasLabels: No
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20180813/704d3e2e/attachment.html>


More information about the coreboot-gerrit mailing list