[coreboot-gerrit] Change in coreboot[master]: util/sconfig/main.c: Use NULL for 'struct device *' enstead of = 0

Elyes HAOUAS (Code Review) gerrit at coreboot.org
Tue Jun 5 08:44:11 CEST 2018


Elyes HAOUAS has uploaded this change for review. ( https://review.coreboot.org/26857


Change subject: util/sconfig/main.c: Use NULL for 'struct device *' enstead of = 0
......................................................................

util/sconfig/main.c: Use NULL for 'struct device *' enstead of = 0

Change-Id: I75fa4577055f25dde0a8b1044c005bba72cabd92
Signed-off-by: Elyes HAOUAS <ehaouas at noos.fr>
---
M util/sconfig/main.c
1 file changed, 1 insertion(+), 1 deletion(-)



  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/57/26857/1

diff --git a/util/sconfig/main.c b/util/sconfig/main.c
index 2e34d85..85c1f1d 100644
--- a/util/sconfig/main.c
+++ b/util/sconfig/main.c
@@ -82,7 +82,7 @@
 void fold_in(struct device *parent)
 {
 	struct device *child = parent->children;
-	struct device *latest = 0;
+	struct device *latest = NULL;
 	while (child != latest) {
 		if (child->children) {
 			if (!latest)

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

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I75fa4577055f25dde0a8b1044c005bba72cabd92
Gerrit-Change-Number: 26857
Gerrit-PatchSet: 1
Gerrit-Owner: Elyes HAOUAS <ehaouas at noos.fr>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20180605/b3df75e7/attachment.html>


More information about the coreboot-gerrit mailing list