[PATCH 6.18 175/614] timers/migration: Convert "while" loops to use "for"