[PATCH] drm/amdgpu: add missing return in amdgpu_device_resize_fb_bar

Harry Wentland harry.wentland at amd.com
Thu Nov 2 14:54:09 UTC 2017


On 2017-11-02 10:16 AM, Christian König wrote:
> Somehow missed to commit that during rebase.
> 
> Signed-off-by: Christian König <christian.koenig at amd.com>

Reviewed-by: Harry Wentland <harry.wentland at amd.com>

Harry

> ---
>  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;
>  }
>  
>  /*
> 


More information about the amd-gfx mailing list