linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] drm/zte: remove unneeded semicolon
@ 2020-05-04 11:32 Jason Yan
  2020-05-20  1:07 ` Shawn Guo
  2020-06-29  7:39 ` Sam Ravnborg
  0 siblings, 2 replies; 3+ messages in thread
From: Jason Yan @ 2020-05-04 11:32 UTC (permalink / raw)
  To: shawnguo, airlied, daniel, dri-devel, linux-kernel; +Cc: Jason Yan

Fix the following coccicheck warning:

drivers/gpu/drm/zte/zx_vga.c:158:2-3: Unneeded semicolon
drivers/gpu/drm/zte/zx_vga.c:171:2-3: Unneeded semicolon
drivers/gpu/drm/zte/zx_vga.c:179:2-3: Unneeded semicolon

Signed-off-by: Jason Yan <yanaijie@huawei.com>
---
 drivers/gpu/drm/zte/zx_vga.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/gpu/drm/zte/zx_vga.c b/drivers/gpu/drm/zte/zx_vga.c
index a7ed7f5ca837..0f9bbb7e3b8d 100644
--- a/drivers/gpu/drm/zte/zx_vga.c
+++ b/drivers/gpu/drm/zte/zx_vga.c
@@ -155,7 +155,7 @@ static int zx_vga_register(struct drm_device *drm, struct zx_vga *vga)
 	if (ret) {
 		DRM_DEV_ERROR(dev, "failed to init encoder: %d\n", ret);
 		return ret;
-	};
+	}
 
 	drm_encoder_helper_add(encoder, &zx_vga_encoder_helper_funcs);
 
@@ -168,7 +168,7 @@ static int zx_vga_register(struct drm_device *drm, struct zx_vga *vga)
 	if (ret) {
 		DRM_DEV_ERROR(dev, "failed to init connector: %d\n", ret);
 		goto clean_encoder;
-	};
+	}
 
 	drm_connector_helper_add(connector, &zx_vga_connector_helper_funcs);
 
@@ -176,7 +176,7 @@ static int zx_vga_register(struct drm_device *drm, struct zx_vga *vga)
 	if (ret) {
 		DRM_DEV_ERROR(dev, "failed to attach encoder: %d\n", ret);
 		goto clean_connector;
-	};
+	}
 
 	return 0;
 
-- 
2.21.1


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

* Re: [PATCH] drm/zte: remove unneeded semicolon
  2020-05-04 11:32 [PATCH] drm/zte: remove unneeded semicolon Jason Yan
@ 2020-05-20  1:07 ` Shawn Guo
  2020-06-29  7:39 ` Sam Ravnborg
  1 sibling, 0 replies; 3+ messages in thread
From: Shawn Guo @ 2020-05-20  1:07 UTC (permalink / raw)
  To: Jason Yan; +Cc: airlied, daniel, dri-devel, linux-kernel

On Mon, May 04, 2020 at 07:32:30PM +0800, Jason Yan wrote:
> Fix the following coccicheck warning:
> 
> drivers/gpu/drm/zte/zx_vga.c:158:2-3: Unneeded semicolon
> drivers/gpu/drm/zte/zx_vga.c:171:2-3: Unneeded semicolon
> drivers/gpu/drm/zte/zx_vga.c:179:2-3: Unneeded semicolon
> 
> Signed-off-by: Jason Yan <yanaijie@huawei.com>

Acked-by: Shawn Guo <shawnguo@kernel.org>

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

* Re: [PATCH] drm/zte: remove unneeded semicolon
  2020-05-04 11:32 [PATCH] drm/zte: remove unneeded semicolon Jason Yan
  2020-05-20  1:07 ` Shawn Guo
@ 2020-06-29  7:39 ` Sam Ravnborg
  1 sibling, 0 replies; 3+ messages in thread
From: Sam Ravnborg @ 2020-06-29  7:39 UTC (permalink / raw)
  To: Jason Yan; +Cc: shawnguo, airlied, daniel, dri-devel, linux-kernel

On Mon, May 04, 2020 at 07:32:30PM +0800, Jason Yan wrote:
> Fix the following coccicheck warning:
> 
> drivers/gpu/drm/zte/zx_vga.c:158:2-3: Unneeded semicolon
> drivers/gpu/drm/zte/zx_vga.c:171:2-3: Unneeded semicolon
> drivers/gpu/drm/zte/zx_vga.c:179:2-3: Unneeded semicolon
> 
> Signed-off-by: Jason Yan <yanaijie@huawei.com>

Applied to drm-misc-next.

	Sam

> ---
>  drivers/gpu/drm/zte/zx_vga.c | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/drivers/gpu/drm/zte/zx_vga.c b/drivers/gpu/drm/zte/zx_vga.c
> index a7ed7f5ca837..0f9bbb7e3b8d 100644
> --- a/drivers/gpu/drm/zte/zx_vga.c
> +++ b/drivers/gpu/drm/zte/zx_vga.c
> @@ -155,7 +155,7 @@ static int zx_vga_register(struct drm_device *drm, struct zx_vga *vga)
>  	if (ret) {
>  		DRM_DEV_ERROR(dev, "failed to init encoder: %d\n", ret);
>  		return ret;
> -	};
> +	}
>  
>  	drm_encoder_helper_add(encoder, &zx_vga_encoder_helper_funcs);
>  
> @@ -168,7 +168,7 @@ static int zx_vga_register(struct drm_device *drm, struct zx_vga *vga)
>  	if (ret) {
>  		DRM_DEV_ERROR(dev, "failed to init connector: %d\n", ret);
>  		goto clean_encoder;
> -	};
> +	}
>  
>  	drm_connector_helper_add(connector, &zx_vga_connector_helper_funcs);
>  
> @@ -176,7 +176,7 @@ static int zx_vga_register(struct drm_device *drm, struct zx_vga *vga)
>  	if (ret) {
>  		DRM_DEV_ERROR(dev, "failed to attach encoder: %d\n", ret);
>  		goto clean_connector;
> -	};
> +	}
>  
>  	return 0;
>  
> -- 
> 2.21.1
> 
> _______________________________________________
> dri-devel mailing list
> dri-devel@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

end of thread, other threads:[~2020-06-29 19:28 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-04 11:32 [PATCH] drm/zte: remove unneeded semicolon Jason Yan
2020-05-20  1:07 ` Shawn Guo
2020-06-29  7:39 ` Sam Ravnborg

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