diff options
Diffstat (limited to 'src/vendorcode/intel/fsp1_0/ivybridge_i89xx/srx/fsphob.c')
-rw-r--r-- | src/vendorcode/intel/fsp1_0/ivybridge_i89xx/srx/fsphob.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/vendorcode/intel/fsp1_0/ivybridge_i89xx/srx/fsphob.c b/src/vendorcode/intel/fsp1_0/ivybridge_i89xx/srx/fsphob.c index 4214b3ae22..5a1c600a24 100644 --- a/src/vendorcode/intel/fsp1_0/ivybridge_i89xx/srx/fsphob.c +++ b/src/vendorcode/intel/fsp1_0/ivybridge_i89xx/srx/fsphob.c @@ -145,11 +145,11 @@ GetNextHob ( // // Parse the HOB list until end of list or matching type is found. // - while (!END_OF_HOB_LIST (Hob)) { + while (!END_OF_HOB_LIST(Hob.Raw)) { if (Hob.Header->HobType == Type) { return Hob.Raw; } - Hob.Raw = GET_NEXT_HOB (Hob); + Hob.Raw = GET_NEXT_HOB(Hob.Raw); } return NULL; } @@ -186,7 +186,7 @@ GetNextGuidHob ( if (CompareGuid (Guid, &GuidHob.Guid->Name)) { break; } - GuidHob.Raw = GET_NEXT_HOB (GuidHob); + GuidHob.Raw = GET_NEXT_HOB(GuidHob.Raw); } return GuidHob.Raw; } |