Skip to contentSkip to conversation

drm/radeon: ERROR: spaces required around that '+=' (ctx:VxV)

PATCH New [email protected] 1 participant 1 message Jul 14, 2023 1 message not in the archive

Subsystems (2)
lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

PATCH 1/1 drm/radeon: ERROR: spaces required around that '+=' (ctx:VxV)

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

---
 drivers/gpu/drm/radeon/r100.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/radeon/r100.c +1 -1
index affa9e0309b2..2f0470f927f1 100644
@@ -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",