Re: [PATCH] nouveau/gsp: fix NULL pointer dereference in r535 nvenc/ofs alloc

From: Danilo Krummrich

Date: Wed May 27 2026 - 06:39:50 EST


On Wed May 27, 2026 at 3:56 AM CEST, Hongling Zeng wrote:
> Should I submit a patch to clean up the IS_ERR_OR_NULL() checks in:
> - nvkm_gsp_rm_alloc_get() / nvkm_gsp_rm_alloc()
> - nvkm_gsp_rpc_rd()
> - All the callers

Sounds good. Ideally, where it makes sense, do it in separate patches and send a
series.

Thanks,
Danilo