From: Tao Zhou Date: Mon, 2 Sep 2019 11:27:23 +0000 (+0800) Subject: drm/amdgpu: change r type to int in gmc_v9_0_late_init X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=c5b6e585b23382b682653ec84152d1945408f888;p=linux.git drm/amdgpu: change r type to int in gmc_v9_0_late_init change r type from bool to int, suitable for both bool and int return value Signed-off-by: Tao Zhou Reviewed-by: Christian König Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c b/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c index 0899fc847ed91..2b4eb0b9d9ced 100644 --- a/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c +++ b/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c @@ -790,7 +790,7 @@ static int gmc_v9_0_ecc_late_init(void *handle) static int gmc_v9_0_late_init(void *handle) { struct amdgpu_device *adev = (struct amdgpu_device *)handle; - bool r; + int r; if (!gmc_v9_0_keep_stolen_memory(adev)) amdgpu_bo_late_init(adev);