[PATCH] drm/amdgpu: add missing return in amdgpu_device_resize_fb_bar
Alex Deucher
alexdeucher at gmail.com
Thu Nov 2 14:26:47 UTC 2017
On Thu, Nov 2, 2017 at 10:16 AM, Christian König
<ckoenig.leichtzumerken at gmail.com> wrote:
> Somehow missed to commit that during rebase.
>
> Signed-off-by: Christian König <christian.koenig at amd.com>
> ---
> drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
> index cb3a0ac90eaf..9ed8a74b69c4 100644
> --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
> +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
> @@ -796,6 +796,8 @@ int amdgpu_device_resize_fb_bar(struct amdgpu_device *adev)
> return -ENODEV;
>
> pci_write_config_word(adev->pdev, PCI_COMMAND, cmd);
> +
> + return 0;
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
> }
>
> /*
> --
> 2.11.0
>
> _______________________________________________
> amd-gfx mailing list
> amd-gfx at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/amd-gfx
More information about the amd-gfx
mailing list