Skip to contentSkip to conversation

drm/amdgpu: Clean up errors in amdgpu_umc.c

PATCH New XueBing Chen 1 participant 1 message Aug 23, 2023

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/amdgpu: Clean up errors in amdgpu_umc.c

Fix the following errors reported by checkpatch:

ERROR: space required before the open parenthesis '('

---
 drivers/gpu/drm/amd/amdgpu/amdgpu_umc.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/gpu/drm/amd/amdgpu/amdgpu_umc.c +2 -2
index db0d94ca4ffc..e62a986b0875 100644
@@ -102,7 +102,7 @@ static int amdgpu_umc_do_page_retirement(struct amdgpu_device *adev,
 			/* still call query_ras_error_address to clear error status
 			 * even NOMEM error is encountered
 			 */
-			if(!err_data->err_addr)
+			if (!err_data->err_addr)
 				dev_warn(adev->dev, "Failed to alloc memory for "
 						"umc error address record!\n");
 
@@ -126,7 +126,7 @@ static int amdgpu_umc_do_page_retirement(struct amdgpu_device *adev,
 			/* still call query_ras_error_address to clear error status
 			 * even NOMEM error is encountered
 			 */
-			if(!err_data->err_addr)
+			if (!err_data->err_addr)
 				dev_warn(adev->dev, "Failed to alloc memory for "
 						"umc error address record!\n");
 
Signature · 1 line
2.17.1