Re: [PATCH 1/2] drm/amdgpu/debugfs: fix memory leak when pm_runtime_get_sync failed

From: Markus Elfring
Date: Tue Jun 16 2020 - 07:23:59 EST


> Fix memory leak in amdgpu_debugfs_gpr_read not freeing data when
> pm_runtime_get_sync failed.

* Would you like to improve the exception handling any more for this software module?

* How do you think about calling the function âpm_runtime_put_noidleâ?

Regards,
Markus