mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-22 09:11:26 +03:00
Some error paths in mrq_debug_read and bpmp_debug_show would overwrite the return error code with a subsequent call to mrq_debug_close. Change the code to only change the error code if there was no prior error. Bug 3980003 Signed-off-by: Mikko Perttunen <mperttunen@nvidia.com> Change-Id: I3b2ce03c19aed2f6c692f69f68d8ce18c3e6c53a Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2871549 Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com> Reviewed-by: svc-mobile-cert <svc-mobile-cert@nvidia.com> Reviewed-by: Timo Alho <talho@nvidia.com> GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
16 KiB
16 KiB