* [PATCH] drm/amdgpu: change r type to int in gmc_v9_0_late_init
@ 2019-09-03 8:41 Zhou1, Tao
[not found] ` <20190903084125.10698-1-tao.zhou1-5C7GfCeVMHo@public.gmane.org>
0 siblings, 1 reply; 2+ messages in thread
From: Zhou1, Tao @ 2019-09-03 8:41 UTC (permalink / raw)
To: amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW, Chen, Guchun, Zhang,
Hawking, Li, Dennis
Cc: Zhou1, Tao
change r type from bool to int, suitable for both bool and int return
value
Signed-off-by: Tao Zhou <tao.zhou1@amd.com>
---
drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c b/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c
index 0fe24943d50e..f140a491a2d1 100644
--- a/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c
+++ b/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c
@@ -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);
--
2.17.1
_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] drm/amdgpu: change r type to int in gmc_v9_0_late_init
[not found] ` <20190903084125.10698-1-tao.zhou1-5C7GfCeVMHo@public.gmane.org>
@ 2019-09-03 8:48 ` Christian König
0 siblings, 0 replies; 2+ messages in thread
From: Christian König @ 2019-09-03 8:48 UTC (permalink / raw)
To: Zhou1, Tao, amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW, Chen,
Guchun, Zhang, Hawking, Li, Dennis
Am 03.09.19 um 10:41 schrieb Zhou1, Tao:
> change r type from bool to int, suitable for both bool and int return
> value
>
> Signed-off-by: Tao Zhou <tao.zhou1@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
> ---
> drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c b/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c
> index 0fe24943d50e..f140a491a2d1 100644
> --- a/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c
> +++ b/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c
> @@ -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
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-09-03 8:48 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-03 8:41 [PATCH] drm/amdgpu: change r type to int in gmc_v9_0_late_init Zhou1, Tao
[not found] ` <20190903084125.10698-1-tao.zhou1-5C7GfCeVMHo@public.gmane.org>
2019-09-03 8:48 ` Christian König
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.