summaryrefslogtreecommitdiff
path: root/include/net/aligned_data.h
diff options
context:
space:
mode:
authorTimur Tabi <ttabi@nvidia.com>2025-08-12 19:10:02 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-09-04 16:55:48 +0200
commitb09382cf94f61cc2f71511ab6f3e4de7fb3d565c (patch)
tree8901cb4c435d753edafa5ca7eda62be5338c98ab /include/net/aligned_data.h
parent6badb500f28bd31fbe1ed63d47e43fdd418f416a (diff)
drm/nouveau: fix error path in nvkm_gsp_fwsec_v2
commit 66e82b6e0a28d4970383e1ee5d60f431001128cd upstream. 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@vger.kernel.org # v6.7+ Signed-off-by: Timur Tabi <ttabi@nvidia.com> Link: https://lore.kernel.org/r/20250813001004.2986092-1-ttabi@nvidia.com Signed-off-by: Danilo Krummrich <dakr@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/net/aligned_data.h')
0 files changed, 0 insertions, 0 deletions