From 1d3fde4693aee3299b9023ec325cbfee90ed0969 Mon Sep 17 00:00:00 2001 From: Elyes HAOUAS Date: Tue, 5 Jun 2018 08:41:29 +0200 Subject: {src,util}: Use NULL instead of 0 for pointer Change-Id: I75fa4577055f25dde0a8b1044c005bba72cabd92 Signed-off-by: Elyes HAOUAS Reviewed-on: https://review.coreboot.org/26857 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi --- src/drivers/intel/fsp1_0/hob.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/drivers/intel') diff --git a/src/drivers/intel/fsp1_0/hob.c b/src/drivers/intel/fsp1_0/hob.c index 4aac147ea9..1c6d0bba69 100644 --- a/src/drivers/intel/fsp1_0/hob.c +++ b/src/drivers/intel/fsp1_0/hob.c @@ -167,7 +167,7 @@ void print_guid_type_attributes(void *Hobptr) void print_hob_type_structure(u16 Hobtype, void *Hoblistptr) { u32 *Currenthob; - u32 *Nexthob = 0; + u32 *Nexthob = NULL; u8 Lasthob = 0; u32 Currenttype; const char *Currenttypestr; -- cgit v1.2.3