[PATCH 5.10 24/99] tee: amdtee: fix an IS_ERR() vs NULL bug