Martin Roth has posted comments on this change. ( https://review.coreboot.org/27096 )
Change subject: src: Use NULL instead of 0 for pointer
......................................................................
Patch Set 6:
This isn't right. When you're assigning *ptr = 0, you're setting the value of the address pointed to by ptr to 0, not setting the address of ptr to NULL. Look up dereferencing a pointer.
--
To view, visit https://review.coreboot.org/27096
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: Ie9d22a4d6bab1caf61f4f89e236ae3cd2f7fb42c
Gerrit-Change-Number: 27096
Gerrit-PatchSet: 6
Gerrit-Owner: Elyes HAOUAS <ehaouas(a)noos.fr>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Martin Roth <martinroth(a)google.com>
Gerrit-Comment-Date: Wed, 13 Jun 2018 22:26:44 +0000
Gerrit-HasComments: No
Gerrit-HasLabels: No