[PATCH 6.12 255/262] tee: fix register_shm_helper()