[PATCH v3 1/3] drm/nouveau: fix error path in nvkm_gsp_fwsec_v2
Danilo Krummrich
dakr at kernel.org
Mon Aug 25 20:28:59 UTC 2025
On 8/13/25 2:10 AM, Timur Tabi wrote:
> Function nvkm_gsp_fwsec_v2() sets 'ret' if the kmemdup() call fails, but
> it never uses or returns 'ret' after that point. We always need to release
> the firmware regardless, so do that and then check for error.
>
> Fixes: 176fdcbddfd2 ("drm/nouveau/gsp/r535: add support for booting GSP-RM")
> Cc: stable at vger.kernel.org # v6.7+
> Signed-off-by: Timur Tabi <ttabi at nvidia.com>
For this and patch 2 and 3:
Applied to drm-misc-fixes, thanks!
More information about the Nouveau
mailing list