* [PATCH] drm/radeon: add missing spaces before ';' [not found] <20230724025911.7528-1-xujianghui@cdjrlc.com> @ 2023-07-24 3:00 ` sunran001 2023-07-24 21:34 ` Alex Deucher 0 siblings, 1 reply; 2+ messages in thread From: sunran001 @ 2023-07-24 3:00 UTC (permalink / raw) To: airlied, daniel, alexander.deucher; +Cc: amd-gfx, dri-devel, linux-kernel ERROR: space required after that ';' (ctx:BxV) Signed-off-by: Ran Sun <sunran001@208suo.com> --- drivers/gpu/drm/radeon/radeon_vce.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/radeon/radeon_vce.c b/drivers/gpu/drm/radeon/radeon_vce.c index ca4a36464340..d1871af967d4 100644 --- a/drivers/gpu/drm/radeon/radeon_vce.c +++ b/drivers/gpu/drm/radeon/radeon_vce.c @@ -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; ^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] drm/radeon: add missing spaces before ';' 2023-07-24 3:00 ` [PATCH] drm/radeon: add missing spaces before ';' sunran001 @ 2023-07-24 21:34 ` Alex Deucher 0 siblings, 0 replies; 2+ messages in thread From: Alex Deucher @ 2023-07-24 21:34 UTC (permalink / raw) To: sunran001 Cc: airlied, daniel, alexander.deucher, dri-devel, amd-gfx, linux-kernel Applied. Thanks! On Sun, Jul 23, 2023 at 11:00 PM <sunran001@208suo.com> wrote: > > ERROR: space required after that ';' (ctx:BxV) > > Signed-off-by: Ran Sun <sunran001@208suo.com> > --- > drivers/gpu/drm/radeon/radeon_vce.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/drivers/gpu/drm/radeon/radeon_vce.c > b/drivers/gpu/drm/radeon/radeon_vce.c > index ca4a36464340..d1871af967d4 100644 > --- a/drivers/gpu/drm/radeon/radeon_vce.c > +++ b/drivers/gpu/drm/radeon/radeon_vce.c > @@ -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; ^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-07-24 21:34 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <20230724025911.7528-1-xujianghui@cdjrlc.com>
2023-07-24 3:00 ` [PATCH] drm/radeon: add missing spaces before ';' sunran001
2023-07-24 21:34 ` Alex Deucher
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®