Re: [PATCH] drm/radeon: ERROR: "(foo*)" should be "(foo *)"

From: Alex Deucher
Date: Mon Jul 10 2023 - 13:22:23 EST


Applied. Thanks!

Alex

On Mon, Jul 10, 2023 at 3:52 AM <sunran001@xxxxxxxxxx> wrote:
>
> Fix four occurrences of the checkpatch.pl error:
> ERROR: "(foo*)" should be "(foo *)"
>
> Signed-off-by: Ran Sun <sunran001@xxxxxxxxxx>
> ---
> 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;
> }