[<prev] [next>] [day] [month] [year] [list]
Message-ID: <f810a4e.61c.18a218f145e.Coremail.chenxuebing@jari.cn>
Date: Wed, 23 Aug 2023 16:42:19 +0800 (GMT+08:00)
From: "XueBing Chen" <chenxuebing@...i.cn>
To: alexander.deucher@....com, airlied@...il.com, daniel@...ll.ch
Cc: amd-gfx@...ts.freedesktop.org, dri-devel@...ts.freedesktop.org,
linux-kernel@...r.kernel.org
Subject: [PATCH] drm/amdgpu: Clean up errors in amdgpu_umc.c
Fix the following errors reported by checkpatch:
ERROR: space required before the open parenthesis '('
Signed-off-by: XueBing Chen <chenxuebing@...i.cn>
---
drivers/gpu/drm/amd/amdgpu/amdgpu_umc.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_umc.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_umc.c
index db0d94ca4ffc..e62a986b0875 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_umc.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_umc.c
@@ -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");
--
2.17.1
Powered by blists - more mailing lists