Series is

Reviewed-by: Hawking Zhang <[email protected]>

Regards,
Hawking
-----Original Message-----
From: Zhou1, Tao <[email protected]> 
Sent: Monday, October 10, 2022 11:12
To: [email protected]; Zhang, Hawking <[email protected]>; 
Yang, Stanley <[email protected]>; Chai, Thomas <[email protected]>; Li, 
Candice <[email protected]>
Cc: Zhou1, Tao <[email protected]>
Subject: [PATCH 4/4] drm/amdgpu: fix coding style issue for mca notifier

Fix some issues found by checkpatch script.

Signed-off-by: Tao Zhou <[email protected]>
---
 drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c 
b/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
index c2f9970e851c..2dad7aa9a03b 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
@@ -2877,9 +2877,9 @@ static int amdgpu_bad_page_notifier(struct notifier_block 
*nb,
        err_data.err_addr =
                kcalloc(adev->umc.max_ras_err_cnt_per_query,
                        sizeof(struct eeprom_table_record), GFP_KERNEL);
-       if(!err_data.err_addr) {
-               dev_warn(adev->dev, "Failed to alloc memory for "
-                               "umc error address record in mca notifier!\n");
+       if (!err_data.err_addr) {
+               dev_warn(adev->dev,
+                       "Failed to alloc memory for umc error record in mca 
notifier!\n");
                return NOTIFY_DONE;
        }
 
-- 
2.35.1

Reply via email to