[PATCH v2 01/20] drm/amdgpu: Fix trailing whitespaces

Christian König christian.koenig at amd.com
Tue Dec 1 10:40:49 UTC 2020


Reviewed-by: Christian König <christian.koenig at amd.com> on patch #1 and #15.

Acked-by: Christian König <christian.koenig at amd.com> on patch #2 and #16.

Regards,
Christian.

Am 01.12.20 um 11:35 schrieb Thomas Zimmermann:
> Adhere to kernel coding style.
>
> Signed-off-by: Thomas Zimmermann <tzimmermann at suse.de>
> Acked-by: Alex Deucher <alexander.deucher at amd.com>
> Acked-by: Sam Ravnborg <sam at ravnborg.org>
> Cc: Alex Deucher <alexander.deucher at amd.com>
> Cc: Christian König <christian.koenig at amd.com>
> ---
>   drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 6 +++---
>   1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
> index 5f304425c948..da23c0f21311 100644
> --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
> +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
> @@ -4922,8 +4922,8 @@ pci_ers_result_t amdgpu_pci_error_detected(struct pci_dev *pdev, pci_channel_sta
>   	case pci_channel_io_normal:
>   		return PCI_ERS_RESULT_CAN_RECOVER;
>   	/* Fatal error, prepare for slot reset */
> -	case pci_channel_io_frozen:		
> -		/*		
> +	case pci_channel_io_frozen:
> +		/*
>   		 * Cancel and wait for all TDRs in progress if failing to
>   		 * set  adev->in_gpu_reset in amdgpu_device_lock_adev
>   		 *
> @@ -5014,7 +5014,7 @@ pci_ers_result_t amdgpu_pci_slot_reset(struct pci_dev *pdev)
>   		goto out;
>   	}
>   
> -	adev->in_pci_err_recovery = true;	
> +	adev->in_pci_err_recovery = true;
>   	r = amdgpu_device_pre_asic_reset(adev, NULL, &need_full_reset);
>   	adev->in_pci_err_recovery = false;
>   	if (r)



More information about the amd-gfx mailing list