drm/amdgpu: change r type to int in gmc_v9_0_late_init
Subsystems (2)
PATCH 1/1 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 <[email protected]>
--- drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c +1 -1
@@ -831,7 +831,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);
Signature · 6 lines
2.17.1 _______________________________________________ amd-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/amd-gfx
A message that is not in the archive (sent off-list or not yet received): [email protected]
Christian König
Reviewed-byAm 03.09.19 um 10:41 schrieb Zhou1, Tao:
Quoted 4 lines
change r type from bool to int, suitable for both bool and int return value
Signed-off-by Tao Zhou <[email protected]>
Reviewed-by Christian König <[email protected]>
Quoted 9 lines
--- drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c +0
-0
drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c static int gmc_v9_0_ecc_late_init(void *handle) · line 837
Quoted 8 lines
drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c +1
-1@@ -831,7 +831,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);
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx