mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: shijie001@208suo.com
To: airlied@gmail.com, daniel@ffwll.ch, alexander.deucher@amd.com,
	christian.koenig@amd.com, Xinhui.Pan@amd.com
Cc: amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org,
	linux-kernel@vger.kernel.org
Subject: [PATCH] drm/radeon: ERROR: spaces required around that '+=' (ctx:VxV)
Date: Fri, 14 Jul 2023 11:32:32 +0800	[thread overview]
Message-ID: <97d2ba38071e5c650894c01a56a2533a@208suo.com> (raw)
In-Reply-To: <tencent_90453D41C9A3FB57DCCA60655D9218D1870A@qq.com>

Fix two occurrences of the checkpatch.pl error:
ERROR: spaces required around that '+=' (ctx:VxV)

Signed-off-by: Jie Shi <shijie001@208suo.com>
---
  drivers/gpu/drm/radeon/r100.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/radeon/r100.c 
b/drivers/gpu/drm/radeon/r100.c
index affa9e0309b2..2f0470f927f1 100644
--- a/drivers/gpu/drm/radeon/r100.c
+++ b/drivers/gpu/drm/radeon/r100.c
@@ -1327,7 +1327,7 @@ int r100_packet3_load_vbpntr(struct 
radeon_cs_parser *p,
          return -EINVAL;
      }
      track->num_arrays = c;
-    for (i = 0; i < (c - 1); i+=2, idx+=3) {
+    for (i = 0; i < (c - 1); i += 2, idx += 3) {
          r = radeon_cs_packet_next_reloc(p, &reloc, 0);
          if (r) {
              DRM_ERROR("No reloc for packet3 %d\n",

           reply	other threads:[~2023-07-14  3:32 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <tencent_90453D41C9A3FB57DCCA60655D9218D1870A@qq.com>]

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=97d2ba38071e5c650894c01a56a2533a@208suo.com \
    --to=shijie001@208suo.com \
    --cc=Xinhui.Pan@amd.com \
    --cc=airlied@gmail.com \
    --cc=alexander.deucher@amd.com \
    --cc=amd-gfx@lists.freedesktop.org \
    --cc=christian.koenig@amd.com \
    --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

all inboxes | Powered by JetHome®