Use true instead of 1 for a while loop

Converts the while loop to while (true) from while (1).
This is in the same spirt as using ES.47: Use nullptr
rather than 0 or NULL
https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#Res-nullptr

Tested: Built p10bmc before and after change, successful build
and runs on QEMU with no differences.

Signed-off-by: Bruce Mitchell <bruce.mitchell@linux.vnet.ibm.com>
Change-Id: Ia01a17775f4731536bd6a1d0a09a927d3fc1807d
1 file changed