From mboxrd@z Thu Jan 1 00:00:00 1970 From: Markus Elfring Date: Tue, 16 Jun 2020 11:23:15 +0000 Subject: Re: [PATCH 1/2] drm/amdgpu/debugfs: fix memory leak when pm_runtime_get_sync failed Message-Id: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit To: Chen Tao , amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org Cc: Tom St Denis , Chunming Zhou , Jack Xiao , Daniel Vetter , David Airlie , Kangjie Lu , kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org, Navid Emamdoost , Qiushi Wu , Aditya Pakki , Alex Deucher , =?UTF-8?Q?Christian_K=c3=b6nig?= , Yintian Tao > 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