Re: [PATCH next] drm/nouveau: Fix error pointer dereference in r535_gsp_msgq_recv()

2025-02-19 Thread Danilo Krummrich
On Mon, Feb 17, 2025 at 10:31:21AM +0300, Dan Carpenter wrote: > If "rpc" is an error pointer then return directly. Otherwise it leads > to an error pointer dereference. > > Fixes: 50f290053d79 ("drm/nouveau: support handling the return of large GSP > message") > Signed-off-by: Dan Carpenter A

Re: [PATCH next] drm/nouveau: Fix error pointer dereference in r535_gsp_msgq_recv()

2025-02-17 Thread Zhi Wang
On Mon, 17 Feb 2025 10:31:21 +0300 Dan Carpenter wrote: Thanks for catching this! Acked-by: Zhi Wang > If "rpc" is an error pointer then return directly. Otherwise it leads > to an error pointer dereference. > > Fixes: 50f290053d79 ("drm/nouveau: support handling the return of large GSP > m

[PATCH next] drm/nouveau: Fix error pointer dereference in r535_gsp_msgq_recv()

2025-02-16 Thread Dan Carpenter
If "rpc" is an error pointer then return directly. Otherwise it leads to an error pointer dereference. Fixes: 50f290053d79 ("drm/nouveau: support handling the return of large GSP message") Signed-off-by: Dan Carpenter --- drivers/gpu/drm/nouveau/nvkm/subdev/gsp/r535.c | 1 + 1 file changed, 1