mirror of
https://github.com/torvalds/linux.git
synced 2026-07-27 17:47:41 +02:00
Revert "nouveau/gsp/rm: cleanup WARN_ON(IS_ERR_OR_NULL)"
This is probably too risky, see the discussion here:
https://lists.freedesktop.org/archives/dri-devel/2026-May/570353.html
This reverts commit 6198977a78.
Signed-off-by: Lyude Paul <lyude@redhat.com>
Reviewed-by: Timur Tabi <ttabi@nvidia.com>
Link: https://patch.msgid.link/20260528192847.4077458-4-lyude@redhat.com
Signed-off-by: Danilo Krummrich <dakr@kernel.org>
This commit is contained in:
parent
1a8117455d
commit
dd516da348
|
|
@ -55,7 +55,7 @@ r535_bar_bar2_update_pde(struct nvkm_gsp *gsp, u8 page_shift, u64 pdbe)
|
|||
rpc_update_bar_pde_v15_00 *rpc;
|
||||
|
||||
rpc = nvkm_gsp_rpc_get(gsp, NV_VGPU_MSG_FUNCTION_UPDATE_BAR_PDE, sizeof(*rpc));
|
||||
if (WARN_ON(IS_ERR(rpc)))
|
||||
if (WARN_ON(IS_ERR_OR_NULL(rpc)))
|
||||
return -EIO;
|
||||
|
||||
rpc->info.barType = NV_RPC_UPDATE_PDE_BAR_2;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user