linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] drm/amd/dc: fix semicolon.cocci warnings
@ 2017-02-14  6:14 Julia Lawall
  2017-02-14 17:07 ` Harry Wentland
  0 siblings, 1 reply; 4+ messages in thread
From: Julia Lawall @ 2017-02-14  6:14 UTC (permalink / raw)
  To: Harry Wentland
  Cc: dri-devel, Alex Deucher, Christian König, David Airlie,
	kbuild-all, linux-kernel

Remove unneeded semicolon.

Generated by: scripts/coccinelle/misc/semicolon.cocci

CC: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---

tree:   git://people.freedesktop.org/~agd5f/linux.git amd-staging-4.9
head:   79d2de1bcb650296adff1cb08bfbf1501a6e6e14
commit: bad4c165a6986a131cdd1455507ba3857baaa561 [201/657] drm/amd/dc: Add
dc display driver

 dc_resource.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_resource.c
+++ b/drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_resource.c
@@ -135,7 +135,7 @@ static void update_num_audio(
 		break;
 	default:
 		DC_ERR("DC: unexpected audio fuse!\n");
-	};
+	}
 }

 bool resource_construct(

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] drm/amd/dc: fix semicolon.cocci warnings
  2017-02-14  6:14 [PATCH] drm/amd/dc: fix semicolon.cocci warnings Julia Lawall
@ 2017-02-14 17:07 ` Harry Wentland
  0 siblings, 0 replies; 4+ messages in thread
From: Harry Wentland @ 2017-02-14 17:07 UTC (permalink / raw)
  To: Julia Lawall
  Cc: dri-devel, Alex Deucher, Christian König, David Airlie,
	kbuild-all, linux-kernel

Reviewed-by: Harry Wentland <harry.wentland@amd.com>

Harry

On 2017-02-14 01:14 AM, Julia Lawall wrote:
> Remove unneeded semicolon.
>
> Generated by: scripts/coccinelle/misc/semicolon.cocci
>
> CC: Harry Wentland <harry.wentland@amd.com>
> Signed-off-by: Julia Lawall <julia.lawall@lip6.fr>
> Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
> ---
>
> tree:   git://people.freedesktop.org/~agd5f/linux.git amd-staging-4.9
> head:   79d2de1bcb650296adff1cb08bfbf1501a6e6e14
> commit: bad4c165a6986a131cdd1455507ba3857baaa561 [201/657] drm/amd/dc: Add
> dc display driver
>
>   dc_resource.c |    2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> --- a/drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_resource.c
> +++ b/drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_resource.c
> @@ -135,7 +135,7 @@ static void update_num_audio(
>   		break;
>   	default:
>   		DC_ERR("DC: unexpected audio fuse!\n");
> -	};
> +	}
>   }
>
>   bool resource_construct(

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] drm/amd/dc: fix semicolon.cocci warnings
  2017-02-14  6:13 Julia Lawall
@ 2017-02-14 17:08 ` Harry Wentland
  0 siblings, 0 replies; 4+ messages in thread
From: Harry Wentland @ 2017-02-14 17:08 UTC (permalink / raw)
  To: Julia Lawall
  Cc: Alex Deucher, Christian König, David Airlie, dri-devel,
	kbuild-all, linux-kernel

Reviewed-by: Harry Wentland <harry.wentland@amd.com>

Harry

On 2017-02-14 01:13 AM, Julia Lawall wrote:
> Remove unneeded semicolons.
>
> Generated by: scripts/coccinelle/misc/semicolon.cocci
>
> CC: Harry Wentland <harry.wentland@amd.com>
> Signed-off-by: Julia Lawall <julia.lawall@lip6.fr>
> Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
> ---
>
> tree:   git://people.freedesktop.org/~agd5f/linux.git amd-staging-4.9
> head:   79d2de1bcb650296adff1cb08bfbf1501a6e6e14
> commit: bad4c165a6986a131cdd1455507ba3857baaa561 [201/657] drm/amd/dc: Add
> dc display driver
>
>   amdgpu_dm_types.c |   10 +++++-----
>   1 file changed, 5 insertions(+), 5 deletions(-)
>
> --- a/drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_types.c
> +++ b/drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_types.c
> @@ -890,11 +890,11 @@ static void copy_crtc_timing_for_drm_dis
>   	dst_mode->crtc_hsync_end = src_mode->crtc_hsync_end;
>   	dst_mode->crtc_htotal = src_mode->crtc_htotal;
>   	dst_mode->crtc_hskew = src_mode->crtc_hskew;
> -	dst_mode->crtc_vblank_start = src_mode->crtc_vblank_start;;
> -	dst_mode->crtc_vblank_end = src_mode->crtc_vblank_end;;
> -	dst_mode->crtc_vsync_start = src_mode->crtc_vsync_start;;
> -	dst_mode->crtc_vsync_end = src_mode->crtc_vsync_end;;
> -	dst_mode->crtc_vtotal = src_mode->crtc_vtotal;;
> +	dst_mode->crtc_vblank_start = src_mode->crtc_vblank_start;
> +	dst_mode->crtc_vblank_end = src_mode->crtc_vblank_end;
> +	dst_mode->crtc_vsync_start = src_mode->crtc_vsync_start;
> +	dst_mode->crtc_vsync_end = src_mode->crtc_vsync_end;
> +	dst_mode->crtc_vtotal = src_mode->crtc_vtotal;
>   }
>
>   static void decide_crtc_timing_for_drm_display_mode(

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH] drm/amd/dc: fix semicolon.cocci warnings
@ 2017-02-14  6:13 Julia Lawall
  2017-02-14 17:08 ` Harry Wentland
  0 siblings, 1 reply; 4+ messages in thread
From: Julia Lawall @ 2017-02-14  6:13 UTC (permalink / raw)
  To: Harry Wentland
  Cc: Alex Deucher, Christian König, David Airlie, dri-devel,
	kbuild-all, linux-kernel

Remove unneeded semicolons.

Generated by: scripts/coccinelle/misc/semicolon.cocci

CC: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---

tree:   git://people.freedesktop.org/~agd5f/linux.git amd-staging-4.9
head:   79d2de1bcb650296adff1cb08bfbf1501a6e6e14
commit: bad4c165a6986a131cdd1455507ba3857baaa561 [201/657] drm/amd/dc: Add
dc display driver

 amdgpu_dm_types.c |   10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

--- a/drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_types.c
+++ b/drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_types.c
@@ -890,11 +890,11 @@ static void copy_crtc_timing_for_drm_dis
 	dst_mode->crtc_hsync_end = src_mode->crtc_hsync_end;
 	dst_mode->crtc_htotal = src_mode->crtc_htotal;
 	dst_mode->crtc_hskew = src_mode->crtc_hskew;
-	dst_mode->crtc_vblank_start = src_mode->crtc_vblank_start;;
-	dst_mode->crtc_vblank_end = src_mode->crtc_vblank_end;;
-	dst_mode->crtc_vsync_start = src_mode->crtc_vsync_start;;
-	dst_mode->crtc_vsync_end = src_mode->crtc_vsync_end;;
-	dst_mode->crtc_vtotal = src_mode->crtc_vtotal;;
+	dst_mode->crtc_vblank_start = src_mode->crtc_vblank_start;
+	dst_mode->crtc_vblank_end = src_mode->crtc_vblank_end;
+	dst_mode->crtc_vsync_start = src_mode->crtc_vsync_start;
+	dst_mode->crtc_vsync_end = src_mode->crtc_vsync_end;
+	dst_mode->crtc_vtotal = src_mode->crtc_vtotal;
 }

 static void decide_crtc_timing_for_drm_display_mode(

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-02-14 17:08 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-02-14  6:14 [PATCH] drm/amd/dc: fix semicolon.cocci warnings Julia Lawall
2017-02-14 17:07 ` Harry Wentland
  -- strict thread matches above, loose matches on Subject: below --
2017-02-14  6:13 Julia Lawall
2017-02-14 17:08 ` Harry Wentland

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).