* [PATCH] drm/amd/display: Clean up errors in dce110_timing_generator.c
@ 2023-08-02 2:52 Ran Sun
2023-08-07 17:08 ` Alex Deucher
0 siblings, 1 reply; 2+ messages in thread
From: Ran Sun @ 2023-08-02 2:52 UTC (permalink / raw)
To: alexander.deucher; +Cc: Ran Sun, dri-devel, amd-gfx, linux-kernel
Fix the following errors reported by checkpatch:
ERROR: spaces required around that '=' (ctx:WxV)
Signed-off-by: Ran Sun <sunran001@208suo.com>
---
.../gpu/drm/amd/display/dc/dce110/dce110_timing_generator.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/amd/display/dc/dce110/dce110_timing_generator.c b/drivers/gpu/drm/amd/display/dc/dce110/dce110_timing_generator.c
index 27cbb5b42c7e..6424e7f279dc 100644
--- a/drivers/gpu/drm/amd/display/dc/dce110/dce110_timing_generator.c
+++ b/drivers/gpu/drm/amd/display/dc/dce110/dce110_timing_generator.c
@@ -288,7 +288,7 @@ bool dce110_timing_generator_program_timing_generator(
uint32_t vsync_offset = dc_crtc_timing->v_border_bottom +
dc_crtc_timing->v_front_porch;
- uint32_t v_sync_start =dc_crtc_timing->v_addressable + vsync_offset;
+ uint32_t v_sync_start = dc_crtc_timing->v_addressable + vsync_offset;
uint32_t hsync_offset = dc_crtc_timing->h_border_right +
dc_crtc_timing->h_front_porch;
@@ -603,7 +603,7 @@ void dce110_timing_generator_program_blanking(
{
uint32_t vsync_offset = timing->v_border_bottom +
timing->v_front_porch;
- uint32_t v_sync_start =timing->v_addressable + vsync_offset;
+ uint32_t v_sync_start = timing->v_addressable + vsync_offset;
uint32_t hsync_offset = timing->h_border_right +
timing->h_front_porch;
--
2.17.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] drm/amd/display: Clean up errors in dce110_timing_generator.c
2023-08-02 2:52 [PATCH] drm/amd/display: Clean up errors in dce110_timing_generator.c Ran Sun
@ 2023-08-07 17:08 ` Alex Deucher
0 siblings, 0 replies; 2+ messages in thread
From: Alex Deucher @ 2023-08-07 17:08 UTC (permalink / raw)
To: Ran Sun; +Cc: alexander.deucher, amd-gfx, dri-devel, linux-kernel
Applied. Thanks!
On Tue, Aug 1, 2023 at 10:52 PM Ran Sun <sunran001@208suo.com> wrote:
>
> Fix the following errors reported by checkpatch:
>
> ERROR: spaces required around that '=' (ctx:WxV)
>
> Signed-off-by: Ran Sun <sunran001@208suo.com>
> ---
> .../gpu/drm/amd/display/dc/dce110/dce110_timing_generator.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/gpu/drm/amd/display/dc/dce110/dce110_timing_generator.c b/drivers/gpu/drm/amd/display/dc/dce110/dce110_timing_generator.c
> index 27cbb5b42c7e..6424e7f279dc 100644
> --- a/drivers/gpu/drm/amd/display/dc/dce110/dce110_timing_generator.c
> +++ b/drivers/gpu/drm/amd/display/dc/dce110/dce110_timing_generator.c
> @@ -288,7 +288,7 @@ bool dce110_timing_generator_program_timing_generator(
>
> uint32_t vsync_offset = dc_crtc_timing->v_border_bottom +
> dc_crtc_timing->v_front_porch;
> - uint32_t v_sync_start =dc_crtc_timing->v_addressable + vsync_offset;
> + uint32_t v_sync_start = dc_crtc_timing->v_addressable + vsync_offset;
>
> uint32_t hsync_offset = dc_crtc_timing->h_border_right +
> dc_crtc_timing->h_front_porch;
> @@ -603,7 +603,7 @@ void dce110_timing_generator_program_blanking(
> {
> uint32_t vsync_offset = timing->v_border_bottom +
> timing->v_front_porch;
> - uint32_t v_sync_start =timing->v_addressable + vsync_offset;
> + uint32_t v_sync_start = timing->v_addressable + vsync_offset;
>
> uint32_t hsync_offset = timing->h_border_right +
> timing->h_front_porch;
> --
> 2.17.1
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-08-07 17:09 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-02 2:52 [PATCH] drm/amd/display: Clean up errors in dce110_timing_generator.c Ran Sun
2023-08-07 17:08 ` Alex Deucher
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).