On Fri, Nov 30, 2018 at 7:36 AM Christian König
<[email protected]> wrote:
>
> We ignored the return code here.
>
> Signed-off-by: Christian König <[email protected]>

Reviewed-by: Alex Deucher <[email protected]>

> ---
>  drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c | 3 +++
>  1 file changed, 3 insertions(+)
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c 
> b/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c
> index 3a4e5d8d5162..e329a23e1f99 100644
> --- a/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c
> +++ b/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c
> @@ -902,6 +902,9 @@ static int gmc_v9_0_sw_init(void *handle)
>         /* This interrupt is VMC page fault.*/
>         r = amdgpu_irq_add_id(adev, SOC15_IH_CLIENTID_VMC, 
> VMC_1_0__SRCID__VM_FAULT,
>                                 &adev->gmc.vm_fault);
> +       if (r)
> +               return r;
> +
>         r = amdgpu_irq_add_id(adev, SOC15_IH_CLIENTID_UTCL2, 
> UTCL2_1_0__SRCID__FAULT,
>                                 &adev->gmc.vm_fault);
>
> --
> 2.17.1
>
> _______________________________________________
> amd-gfx mailing list
> [email protected]
> https://lists.freedesktop.org/mailman/listinfo/amd-gfx
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

Reply via email to