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

Danilo Krummrich dakr at kernel.org
Wed Feb 19 14:02:42 UTC 2025


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 <dan.carpenter at linaro.org>

Applied to drm-misc-next, thanks!


More information about the Nouveau mailing list