OSDN Git Service

drm/amd/powerplay: fix memory allocation failure check V2
authorEvan Quan <evan.quan@amd.com>
Fri, 12 Jul 2019 02:07:31 +0000 (10:07 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 17 Jul 2019 18:34:30 +0000 (13:34 -0500)
commit366cf03ec00f18e802f304c2cc057cac842e1244
treeb3b417a03efce43f299a943abfaaf8cdff2e06f7
parent67adb569ddf4aee12de999e02c67c1a168dd1a15
drm/amd/powerplay: fix memory allocation failure check V2

Fix memory allocation failure check.

- V2: fix one more similar error

Signed-off-by: Evan Quan <evan.quan@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/vega20_ppt.c