[PATCH] drm/amdgpu: fix semicolon.cocci warnings

Huang Rui ray.huang at amd.com
Fri Mar 31 10:39:05 UTC 2017


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 at amd.com>
> Signed-off-by: Fengguang Wu <fengguang.wu at intel.com>
> ---

Acked-by: Huang Rui <ray.huang at 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,


More information about the dri-devel mailing list