mirror of
https://github.com/torvalds/linux.git
synced 2026-07-27 09:36:22 +02:00
Revert "nouveau/gsp: cleanup IS_ERR_OR_NULL in rpc_rd"
This is probably much too risky. See the discussion here:
https://lists.freedesktop.org/archives/dri-devel/2026-May/570353.html
This reverts commit 47f15f6cf0.
Signed-off-by: Lyude Paul <lyude@redhat.com>
Reviewed-by: Timur Tabi <ttabi@nvidia.com>
Link: https://patch.msgid.link/20260528192847.4077458-5-lyude@redhat.com
Signed-off-by: Danilo Krummrich <dakr@kernel.org>
This commit is contained in:
parent
dd516da348
commit
80fa10569b
|
|
@ -293,7 +293,7 @@ nvkm_gsp_rpc_rd(struct nvkm_gsp *gsp, u32 fn, u32 argc)
|
|||
{
|
||||
void *argv = nvkm_gsp_rpc_get(gsp, fn, argc);
|
||||
|
||||
if (IS_ERR(argv))
|
||||
if (IS_ERR_OR_NULL(argv))
|
||||
return argv;
|
||||
|
||||
return nvkm_gsp_rpc_push(gsp, argv, NVKM_GSP_RPC_REPLY_RECV, argc);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user