From: "XueBing Chen" <chenxuebing@jari.cn>
To: alexander.deucher@amd.com, airlied@gmail.com, daniel@ffwll.ch
Cc: amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org,
linux-kernel@vger.kernel.org
Subject: [PATCH] drm/amdgpu: Clean up errors in amdgpu_umc.c
Date: Wed, 23 Aug 2023 16:42:19 +0800 (GMT+08:00) [thread overview]
Message-ID: <f810a4e.61c.18a218f145e.Coremail.chenxuebing@jari.cn> (raw)
Fix the following errors reported by checkpatch:
ERROR: space required before the open parenthesis '('
Signed-off-by: XueBing Chen <chenxuebing@jari.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
reply other threads:[~2023-08-23 8:48 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=f810a4e.61c.18a218f145e.Coremail.chenxuebing@jari.cn \
--to=chenxuebing@jari.cn \
--cc=airlied@gmail.com \
--cc=alexander.deucher@amd.com \
--cc=amd-gfx@lists.freedesktop.org \
--cc=daniel@ffwll.ch \
--cc=dri-devel@lists.freedesktop.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®