AMD-GFX Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: sunran001@208suo.com
To: airlied@gmail.com, daniel@ffwll.ch
Cc: dri-devel@lists.freedesktop.org, amd-gfx@lists.freedesktop.org,
	linux-kernel@vger.kernel.org
Subject: [PATCH] drm/radeon: ERROR: "(foo*)" should be "(foo *)"
Date: Mon, 10 Jul 2023 15:51:56 +0800	[thread overview]
Message-ID: <21106d58871949c9f301c1bab81ae111@208suo.com> (raw)
In-Reply-To: <20230710074943.54300-1-xujianghui@cdjrlc.com>

Fix four occurrences of the checkpatch.pl error:
ERROR: "(foo*)" should be "(foo *)"

Signed-off-by: Ran Sun <sunran001@208suo.com>
---
  drivers/gpu/drm/radeon/radeon_test.c | 8 ++++----
  1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/gpu/drm/radeon/radeon_test.c 
b/drivers/gpu/drm/radeon/radeon_test.c
index a5e1d2139e80..c9fef9b61ced 100644
--- a/drivers/gpu/drm/radeon/radeon_test.c
+++ b/drivers/gpu/drm/radeon/radeon_test.c
@@ -156,10 +156,10 @@ static void radeon_do_test_moves(struct 
radeon_device *rdev, int flag)
                        i, *vram_start, gtt_start,
                        (unsigned long long)
                        (gtt_addr - rdev->mc.gtt_start +
-                       (void*)gtt_start - gtt_map),
+                       (void *)gtt_start - gtt_map),
                        (unsigned long long)
                        (vram_addr - rdev->mc.vram_start +
-                       (void*)gtt_start - gtt_map));
+                       (void *)gtt_start - gtt_map));
                  radeon_bo_kunmap(vram_obj);
                  goto out_lclean_unpin;
              }
@@ -207,10 +207,10 @@ static void radeon_do_test_moves(struct 
radeon_device *rdev, int flag)
                        i, *gtt_start, vram_start,
                        (unsigned long long)
                        (vram_addr - rdev->mc.vram_start +
-                       (void*)vram_start - vram_map),
+                       (void *)vram_start - vram_map),
                        (unsigned long long)
                        (gtt_addr - rdev->mc.gtt_start +
-                       (void*)vram_start - vram_map));
+                       (void *)vram_start - vram_map));
                  radeon_bo_kunmap(gtt_obj[i]);
                  goto out_lclean_unpin;
              }

       reply	other threads:[~2023-07-10 13:09 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20230710074943.54300-1-xujianghui@cdjrlc.com>
2023-07-10  7:51 ` sunran001 [this message]
2023-07-10 17:21   ` [PATCH] drm/radeon: ERROR: "(foo*)" should be "(foo *)" Alex Deucher
     [not found] <20230710082515.54604-1-xujianghui@cdjrlc.com>
2023-07-10  8:26 ` sunran001
2023-07-10 17:25   ` Alex Deucher
     [not found] <tencent_16FACBDCDA61595C4219E185613C85C8BF0A@qq.com>
2023-07-14  5:35 ` shijie001
2023-07-14  7:21   ` Christian König

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=21106d58871949c9f301c1bab81ae111@208suo.com \
    --to=sunran001@208suo.com \
    --cc=airlied@gmail.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