[PATCH v15 10/10] kernelbase: Restructure the create_key() loop.