diff mbox

drm/amd/dc: fix semicolon.cocci warnings

Message ID 20171012233554.GA152219@athens.lkp.intel.com (mailing list archive)
State New, archived
Headers show

Commit Message

Fengguang Wu Oct. 12, 2017, 11:35 p.m. UTC
drivers/gpu/drm/amd/amdgpu/../display/dc/gpio/gpio_service.c:134:2-3: Unneeded semicolon


 Remove unneeded semicolon.

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

Fixes: 80be23c57868 ("drm/amd/dc: Add dc display driver (v2)")
CC: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---

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

Comments

Harry Wentland Oct. 13, 2017, 7:55 p.m. UTC | #1
On 2017-10-12 07:35 PM, kbuild test robot wrote:
> drivers/gpu/drm/amd/amdgpu/../display/dc/gpio/gpio_service.c:134:2-3: Unneeded semicolon
> 
> 
>  Remove unneeded semicolon.
> 
> Generated by: scripts/coccinelle/misc/semicolon.cocci
> 
> Fixes: 80be23c57868 ("drm/amd/dc: Add dc display driver (v2)")
> CC: Harry Wentland <harry.wentland@amd.com>
> Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>

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

Harry

> ---
> 
>  gpio_service.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> --- a/drivers/gpu/drm/amd/amdgpu/../display/dc/gpio/gpio_service.c
> +++ b/drivers/gpu/drm/amd/amdgpu/../display/dc/gpio/gpio_service.c
> @@ -131,7 +131,7 @@ failure_2:
>  
>  		if (slot)
>  			dm_free(slot);
> -	};
> +	}
>  
>  failure_1:
>  	dm_free(service);
>
diff mbox

Patch

--- a/drivers/gpu/drm/amd/amdgpu/../display/dc/gpio/gpio_service.c
+++ b/drivers/gpu/drm/amd/amdgpu/../display/dc/gpio/gpio_service.c
@@ -131,7 +131,7 @@  failure_2:
 
 		if (slot)
 			dm_free(slot);
-	};
+	}
 
 failure_1:
 	dm_free(service);