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

Alex Deucher alexdeucher at gmail.com
Mon Jul 10 17:21:57 UTC 2023


Applied.  Thanks!

Alex

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


More information about the dri-devel mailing list