diff options
| author | Thomas Zimmermann <[email protected]> | 2021-01-07 08:07:41 +0000 |
|---|---|---|
| committer | Thomas Zimmermann <[email protected]> | 2021-01-13 08:02:50 +0000 |
| commit | 8a11d283788e41c6e65b14ad99a457cb56702a68 (patch) | |
| tree | e60596089e19de40aa9f50ad68afd548bc54ac41 /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | |
| parent | drm/vkms: Add information about module options (diff) | |
| download | kernel-8a11d283788e41c6e65b14ad99a457cb56702a68.tar.gz kernel-8a11d283788e41c6e65b14ad99a457cb56702a68.zip | |
drm/amdgpu: Fix trailing whitespaces
Adhere to kernel coding style.
Signed-off-by: Thomas Zimmermann <[email protected]>
Reviewed-by: Christian König <[email protected]>
Acked-by: Alex Deucher <[email protected]>
Acked-by: Sam Ravnborg <[email protected]>
Cc: Alex Deucher <[email protected]>
Cc: Christian König <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_device.c')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 6 |
1 files 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 348ac678a230..bb3eb2c96eb7 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c @@ -4954,8 +4954,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 * @@ -5046,7 +5046,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) |
