[PATCH 5.15 055/121] tee: fix compiler warning in tee_shm_register()