[PATCH 5.10 018/172] firmware: stratix10-svc: fix a missing check on list iterator