Skip to contentSkip to conversation

drm/radeon: add missing spaces before ';'

PATCH Applied [email protected] 2 participants 2 messages Jul 24, 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: add missing spaces before ';'

ERROR: space required after that ';' (ctx:BxV)

---
 drivers/gpu/drm/radeon/radeon_vce.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/gpu/drm/radeon/radeon_vce.c +2 -2
index ca4a36464340..d1871af967d4 100644
@@ -95,7 +95,7 @@ int radeon_vce_init(struct radeon_device *rdev)
 
 	size = rdev->vce_fw->size - strlen(fw_version) - 9;
 	c = rdev->vce_fw->data;
-	for (;size > 0; --size, ++c)
+	for (; size > 0; --size, ++c)
 		if (strncmp(c, fw_version, strlen(fw_version)) == 0)
 			break;
 
@@ -110,7 +110,7 @@ int radeon_vce_init(struct radeon_device *rdev)
 
 	size = rdev->vce_fw->size - strlen(fb_version) - 3;
 	c = rdev->vce_fw->data;
-	for (;size > 0; --size, ++c)
+	for (; size > 0; --size, ++c)
 		if (strncmp(c, fb_version, strlen(fb_version)) == 0)
 			break;
Applied
#2 lore raw

Applied. Thanks!

Quoted 30 lines · On Sun, Jul 23, 2023 at 11:00 PM <[email protected]> wrote:

ERROR: space required after that ';' (ctx:BxV)

---
  drivers/gpu/drm/radeon/radeon_vce.c | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)
drivers/gpu/drm/radeon/radeon_vce.c +2 -2
index ca4a36464340..d1871af967d4 100644
@@ -95,7 +95,7 @@ int radeon_vce_init(struct radeon_device *rdev)
 
        size = rdev->vce_fw->size - strlen(fw_version) - 9;
        c = rdev->vce_fw->data;
-       for (;size > 0; --size, ++c)
+       for (; size > 0; --size, ++c)
                if (strncmp(c, fw_version, strlen(fw_version)) == 0)
                        break;
 
@@ -110,7 +110,7 @@ int radeon_vce_init(struct radeon_device *rdev)
 
        size = rdev->vce_fw->size - strlen(fb_version) - 3;
        c = rdev->vce_fw->data;
-       for (;size > 0; --size, ++c)
+       for (; size > 0; --size, ++c)
                if (strncmp(c, fb_version, strlen(fb_version)) == 0)
                        break;