From: sunran001@208suo.com
To: airlied@gmail.com, daniel@ffwll.ch
Cc: amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org,
linux-kernel@vger.kernel.org
Subject: [PATCH] drm/radeon: ERROR: "foo * bar" should be "foo *bar"
Date: Mon, 10 Jul 2023 15:38:50 +0800 [thread overview]
Message-ID: <656c6d33a676c141ea35fadb519ccfbc@208suo.com> (raw)
In-Reply-To: <20230710073659.54188-1-xujianghui@cdjrlc.com>
Fix nine occurrences of the checkpatch.pl error:
ERROR: "foo * bar" should be "foo *bar"
Signed-off-by: Ran Sun <sunran001@208suo.com>
---
drivers/gpu/drm/radeon/atom.c | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/drivers/gpu/drm/radeon/atom.c
b/drivers/gpu/drm/radeon/atom.c
index c1bbfbe28bda..11a1940bb26d 100644
--- a/drivers/gpu/drm/radeon/atom.c
+++ b/drivers/gpu/drm/radeon/atom.c
@@ -1156,7 +1156,7 @@ static struct {
atom_op_shr, ATOM_ARG_MC}, {
atom_op_debug, 0},};
-static int atom_execute_table_locked(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 base = CU16(ctx->cmd_table + 4 + 2 * index);
int len, ws, ps, ptr;
@@ -1216,7 +1216,7 @@ static int atom_execute_table_locked(struct
atom_context *ctx, int index, uint32
return ret;
}
-int atom_execute_table_scratch_unlocked(struct atom_context *ctx, int
index, uint32_t * params)
+int atom_execute_table_scratch_unlocked(struct atom_context *ctx, int
index, uint32_t *params)
{
int r;
@@ -1237,7 +1237,7 @@ int atom_execute_table_scratch_unlocked(struct
atom_context *ctx, int index, uin
return r;
}
-int atom_execute_table(struct atom_context *ctx, int index, uint32_t *
params)
+int atom_execute_table(struct atom_context *ctx, int index, uint32_t
*params)
{
int r;
mutex_lock(&ctx->scratch_mutex);
@@ -1359,8 +1359,8 @@ void atom_destroy(struct atom_context *ctx)
}
bool atom_parse_data_header(struct atom_context *ctx, int index,
- uint16_t * size, uint8_t * frev, uint8_t * crev,
- uint16_t * data_start)
+ uint16_t *size, uint8_t *frev, uint8_t *crev,
+ uint16_t *data_start)
{
int offset = index * 2 + 4;
int idx = CU16(ctx->data_table + offset);
@@ -1379,8 +1379,8 @@ bool atom_parse_data_header(struct atom_context
*ctx, int index,
return true;
}
-bool atom_parse_cmd_header(struct atom_context *ctx, int index, uint8_t
* frev,
- uint8_t * crev)
+bool atom_parse_cmd_header(struct atom_context *ctx, int index, uint8_t
*frev,
+ uint8_t *crev)
{
int offset = index * 2 + 4;
int idx = CU16(ctx->cmd_table + offset);
next parent reply other threads:[~2023-07-10 7:39 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20230710073659.54188-1-xujianghui@cdjrlc.com>
2023-07-10 7:38 ` sunran001 [this message]
2023-07-10 17:19 ` Alex Deucher
[not found] <tencent_09B72958FF97A0465961F04F38F298FE6E08@qq.com>
2023-07-14 8:06 ` [PATCH] drm/radeon: ERROR: "foo* " shijie001
2023-07-15 5:10 ` SHANMUGAM, SRINIVASAN
[not found] <20230721060919.5133-1-xujianghui@cdjrlc.com>
2023-07-21 6:10 ` [PATCH] drm/radeon: ERROR: "foo * " sunran001
2023-07-21 6:51 ` sunran001
2023-07-21 16:00 ` Alex Deucher
2023-07-21 6:53 ` sunran001
[not found] <20230725080906.2028-1-zhanglibing@cdjrlc.com>
2023-07-25 8:13 ` wuyonggang001
2023-07-25 15:22 ` Alex Deucher
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=656c6d33a676c141ea35fadb519ccfbc@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
Powered by JetHome