2023-07-21 06:37:10

by Ran Sun

[permalink] [raw]
Subject: [PATCH] drm/radeon: ERROR: "foo * bar" should be "foo *bar"

Fix nine occurrences of the checkpatch.pl error:
ERROR: "foo * bar" should be "foo *bar"

Signed-off-by: Ran Sun <[email protected]>
---
drivers/gpu/drm/radeon/atom.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/gpu/drm/radeon/atom.c
b/drivers/gpu/drm/radeon/atom.c
index 11a1940bb26d..93acb0e42bd6 100644
--- a/drivers/gpu/drm/radeon/atom.c
+++ b/drivers/gpu/drm/radeon/atom.c
@@ -68,8 +68,8 @@ typedef struct {
} atom_exec_context;

int atom_debug = 0;
-static int atom_execute_table_locked(struct atom_context *ctx, int
index, uint32_t * params);
-int atom_execute_table(struct atom_context *ctx, int index, uint32_t *
params);
+static int atom_execute_table_locked(struct atom_context *ctx, int
index, uint32_t *params);
+int atom_execute_table(struct atom_context *ctx, int index, uint32_t
*params);

static uint32_t atom_arg_mask[8] = {
0xFFFFFFFF, 0x0000FFFF, 0x00FFFF00, 0xFFFF0000,


2023-07-21 07:24:06

by Ran Sun

[permalink] [raw]
Subject: [PATCH] drm/radeon: ERROR: "foo * bar" should be "foo *bar"

Fix two occurrences of the checkpatch.pl error:
ERROR: "foo * bar" should be "foo *bar"

Signed-off-by: Ran Sun <[email protected]>
---
drivers/gpu/drm/radeon/atom.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/gpu/drm/radeon/atom.c
b/drivers/gpu/drm/radeon/atom.c
index 11a1940bb26d..93acb0e42bd6 100644
--- a/drivers/gpu/drm/radeon/atom.c
+++ b/drivers/gpu/drm/radeon/atom.c
@@ -68,8 +68,8 @@ typedef struct {
} atom_exec_context;

int atom_debug = 0;
-static int atom_execute_table_locked(struct atom_context *ctx, int
index, uint32_t * params);
-int atom_execute_table(struct atom_context *ctx, int index, uint32_t *
params);
+static int atom_execute_table_locked(struct atom_context *ctx, int
index, uint32_t *params);
+int atom_execute_table(struct atom_context *ctx, int index, uint32_t
*params);

static uint32_t atom_arg_mask[8] = {
0xFFFFFFFF, 0x0000FFFF, 0x00FFFF00, 0xFFFF0000,

2023-07-21 17:00:56

by Alex Deucher

[permalink] [raw]
Subject: Re: [PATCH] drm/radeon: ERROR: "foo * bar" should be "foo *bar"

Applied. Thanks!

On Fri, Jul 21, 2023 at 2:10 AM <[email protected]> wrote:
>
> Fix nine occurrences of the checkpatch.pl error:
> ERROR: "foo * bar" should be "foo *bar"
>
> Signed-off-by: Ran Sun <[email protected]>
> ---
> drivers/gpu/drm/radeon/atom.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/gpu/drm/radeon/atom.c
> b/drivers/gpu/drm/radeon/atom.c
> index 11a1940bb26d..93acb0e42bd6 100644
> --- a/drivers/gpu/drm/radeon/atom.c
> +++ b/drivers/gpu/drm/radeon/atom.c
> @@ -68,8 +68,8 @@ typedef struct {
> } atom_exec_context;
>
> int atom_debug = 0;
> -static int atom_execute_table_locked(struct atom_context *ctx, int
> index, uint32_t * params);
> -int atom_execute_table(struct atom_context *ctx, int index, uint32_t *
> params);
> +static int atom_execute_table_locked(struct atom_context *ctx, int
> index, uint32_t *params);
> +int atom_execute_table(struct atom_context *ctx, int index, uint32_t
> *params);
>
> static uint32_t atom_arg_mask[8] = {
> 0xFFFFFFFF, 0x0000FFFF, 0x00FFFF00, 0xFFFF0000,