Files
linux-nv-oot/drivers/firmware
Mikko Perttunen c711393bdf UPSTREAM: firmware: tegra: bpmp: Fix error paths in debugfs
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>
2023-03-17 04:18:20 -07:00
..