drm/amdgpu: Fix trailing whitespaces
Adhere to kernel coding style. Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de> Reviewed-by: Christian König <christian.koenig@amd.com> Acked-by: Alex Deucher <alexander.deucher@amd.com> Acked-by: Sam Ravnborg <sam@ravnborg.org> Cc: Alex Deucher <alexander.deucher@amd.com> Cc: Christian König <christian.koenig@amd.com> Link: https://patchwork.freedesktop.org/patch/msgid/20210107080748.4768-2-tzimmermann@suse.de
This commit is contained in:
parent
af20724c68
commit
8a11d28378
|
@ -4954,8 +4954,8 @@ pci_ers_result_t amdgpu_pci_error_detected(struct pci_dev *pdev, pci_channel_sta
|
||||||
case pci_channel_io_normal:
|
case pci_channel_io_normal:
|
||||||
return PCI_ERS_RESULT_CAN_RECOVER;
|
return PCI_ERS_RESULT_CAN_RECOVER;
|
||||||
/* Fatal error, prepare for slot reset */
|
/* 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
|
* Cancel and wait for all TDRs in progress if failing to
|
||||||
* set adev->in_gpu_reset in amdgpu_device_lock_adev
|
* set adev->in_gpu_reset in amdgpu_device_lock_adev
|
||||||
*
|
*
|
||||||
|
@ -5046,7 +5046,7 @@ pci_ers_result_t amdgpu_pci_slot_reset(struct pci_dev *pdev)
|
||||||
goto out;
|
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);
|
r = amdgpu_device_pre_asic_reset(adev, NULL, &need_full_reset);
|
||||||
adev->in_pci_err_recovery = false;
|
adev->in_pci_err_recovery = false;
|
||||||
if (r)
|
if (r)
|
||||||
|
|
Loading…
Reference in New Issue