[coreboot-gerrit] Change in coreboot[master]: src/mainboard: Add null pointer check

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


Hello build bot (Jenkins), Hannah Williams, 

I'd like you to reexamine a change. Please visit

    https://review.coreboot.org/28235

to look at the new patch set (#3).

Change subject: src/mainboard: Add null pointer check
......................................................................

src/mainboard: Add null pointer check

src/mainboard/google/octopus/mainboard.c
  Found-by: klockwork
  Function dev_find_slot may return NULL,
  check before its usage.

BRANCH=None
TEST=Built & booted Yorp board.

Change-Id: I160adbe3b0a5a2b0f11fd1567513860664d4bee3
Signed-off-by: John Zhao <john.zhao at intel.com>
---
M src/mainboard/google/octopus/mainboard.c
1 file changed, 2 insertions(+), 1 deletion(-)


  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/35/28235/3
-- 
To view, visit https://review.coreboot.org/28235
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: I160adbe3b0a5a2b0f11fd1567513860664d4bee3
Gerrit-Change-Number: 28235
Gerrit-PatchSet: 3
Gerrit-Owner: John Zhao <john.zhao at intel.com>
Gerrit-Reviewer: Hannah Williams <hannah.williams at intel.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply at coreboot.org>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20180820/d5f98ec3/attachment.html>


More information about the coreboot-gerrit mailing list