OSDN Git Service

drm/amdgpu: fix memory leak in CGS (FW info)
authorMykola Lysenko <Mykola.Lysenko@amd.com>
Wed, 30 Mar 2016 09:50:11 +0000 (05:50 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 5 May 2016 00:29:20 +0000 (20:29 -0400)
commit0b45541df37295e97216f8d45ae583a78ea31416
tree369e6e521a0d224a53fb64af61d072fa96c94939
parentb0d113453a1dfb6d514dc62e976c51e9a63d3bb6
drm/amdgpu: fix memory leak in CGS (FW info)

Previously requested FW pointer should not be
overwritten on a subsequent call.

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Mykola Lysenko <Mykola.Lysenko@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c