[PATCH v14 6/6] kernelbase: Restructure the create_key() loop.