Revert "nouveau/gsp/rm: cleanup remaining IS_ERR_OR_NULL usage"

This reverts commit 1a80c009e2.

Embarassingly, it seems that I completely missed a pretty big issue this
patch causes according to Danilo and Sashiko:

https://lists.freedesktop.org/archives/dri-devel/2026-May/570353.html

Where it seems this causes some machines to segfault during nouveau probe.

So, revert this for the time being.

Signed-off-by: Lyude Paul <lyude@redhat.com>
Reviewed-by: Timur Tabi <ttabi@nvidia.com>
Link: https://patch.msgid.link/20260528192847.4077458-2-lyude@redhat.com
Signed-off-by: Danilo Krummrich <dakr@kernel.org>
This commit is contained in:
Lyude Paul 2026-05-28 15:27:15 -04:00 • committed by Danilo Krummrich
commit ebddb00faa
2 changed files with 4 additions and 4 deletions