diff mbox

drm/amdgpu: fix semicolon.cocci warnings

Message ID 20170331101510.GA12502@lkp-ivb-ep02.lkp.intel.com (mailing list archive)
State New, archived
Headers show

Commit Message

Fengguang Wu March 31, 2017, 10:15 a.m. UTC
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c:133:2-3: Unneeded semicolon


 Remove unneeded semicolon.

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

CC: Huang Rui <ray.huang@amd.com>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---

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

Comments

Huang Rui March 31, 2017, 10:39 a.m. UTC | #1
On Fri, Mar 31, 2017 at 06:15:10PM +0800, kbuild test robot wrote:
> drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c:133:2-3: Unneeded semicolon
> 
> 
>  Remove unneeded semicolon.
> 
> Generated by: scripts/coccinelle/misc/semicolon.cocci
> 
> CC: Huang Rui <ray.huang@amd.com>
> Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
> ---

Acked-by: Huang Rui <ray.huang@amd.com>

> 
>  amdgpu_psp.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
> +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
> @@ -130,7 +130,7 @@ psp_cmd_submit_buf(struct psp_context *p
>  
>          while (*((unsigned int *)psp->fence_buf) != index) {
>                  msleep(1);
> -       };
> +       }
>  
>          amdgpu_bo_free_kernel(&cmd_buf_bo,
>                                &cmd_buf_mc_addr,
diff mbox

Patch

--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
@@ -130,7 +130,7 @@  psp_cmd_submit_buf(struct psp_context *p
 
 	while (*((unsigned int *)psp->fence_buf) != index) {
 		msleep(1);
-	};
+	}
 
 	amdgpu_bo_free_kernel(&cmd_buf_bo,
 			      &cmd_buf_mc_addr,