vendorcode/amd/agesa/f1{5,5tn,6kb}: Silence empty loop warn
Add decorations to specify that empty loop is intended so. Change-Id: Ia3e40d341eca5e26da3832edc733cf1ccc96c136 Signed-off-by: Edward O'Callaghan <eocallaghan@alterapraxis.com> Found-by: Clang Reviewed-on: http://review.coreboot.org/7688 Tested-by: build bot (Jenkins) Reviewed-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
This commit is contained in:
parent
d189085b3f
commit
8ff0ead081
|
@ -507,7 +507,10 @@ MemFGetPCI (
|
|||
UINT8 Die;
|
||||
|
||||
// Find NBBlock that associates with node NodeID
|
||||
for (Die = 0; (Die < MAX_NODES_SUPPORTED) && (NBPtr[Die].Node != NodeID); Die ++);
|
||||
for (Die = 0; Die < MAX_NODES_SUPPORTED; Die ++)
|
||||
if (NBPtr[Die].Node == NodeID)
|
||||
break;
|
||||
|
||||
ASSERT (Die < MAX_NODES_SUPPORTED);
|
||||
|
||||
// Get the northbridge pointer for the targeted node.
|
||||
|
|
|
@ -507,7 +507,10 @@ MemFGetPCI (
|
|||
UINT8 Die;
|
||||
|
||||
// Find NBBlock that associates with node NodeID
|
||||
for (Die = 0; (Die < MAX_NODES_SUPPORTED) && (NBPtr[Die].Node != NodeID); Die ++);
|
||||
for (Die = 0; Die < MAX_NODES_SUPPORTED; Die ++)
|
||||
if (NBPtr[Die].Node == NodeID)
|
||||
break;
|
||||
|
||||
ASSERT (Die < MAX_NODES_SUPPORTED);
|
||||
|
||||
// Get the northbridge pointer for the targeted node.
|
||||
|
|
|
@ -507,7 +507,10 @@ MemFGetPCI (
|
|||
UINT8 Die;
|
||||
|
||||
// Find NBBlock that associates with node NodeID
|
||||
for (Die = 0; (Die < MAX_NODES_SUPPORTED) && (NBPtr[Die].Node != NodeID); Die ++);
|
||||
for (Die = 0; Die < MAX_NODES_SUPPORTED; Die ++)
|
||||
if (NBPtr[Die].Node == NodeID)
|
||||
break;
|
||||
|
||||
ASSERT (Die < MAX_NODES_SUPPORTED);
|
||||
|
||||
// Get the northbridge pointer for the targeted node.
|
||||
|
|
Loading…
Reference in New Issue