OSDN Git Service

drm/radeon: add missing spaces before ';'
authorRan Sun <sunran001@208suo.com>
Mon, 24 Jul 2023 03:00:04 +0000 (11:00 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 25 Jul 2023 17:47:27 +0000 (13:47 -0400)
ERROR: space required after that ';' (ctx:BxV)

Signed-off-by: Ran Sun <sunran001@208suo.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/radeon_vce.c

index ca4a364..d1871af 100644 (file)
@@ -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;