Re: [PATCH] drm: amdgpu: Remove unneeded semicolon in amdgpu_vm.c
From: Alex Deucher
Date: Fri Jun 04 2021 - 12:58:45 EST
Applied. Thanks!
Alex
On Fri, Jun 4, 2021 at 3:03 AM Christian König
<ckoenig.leichtzumerken@xxxxxxxxx> wrote:
>
> Am 03.06.21 um 05:28 schrieb Wan Jiabing:
> > Fix following coccicheck warning:
> > ./drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c:1726:2-3: Unneeded semicolon
> >
> > Signed-off-by: Wan Jiabing <wanjiabing@xxxxxxxx>
>
> Reviewed-by: Christian König <christian.koenig@xxxxxxx>
>
> > ---
> > drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
> > index 2460371..231745b 100644
> > --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
> > +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
> > @@ -1723,7 +1723,7 @@ int amdgpu_vm_bo_update_mapping(struct amdgpu_device *adev,
> >
> > amdgpu_res_next(&cursor, num_entries * AMDGPU_GPU_PAGE_SIZE);
> > start = tmp;
> > - };
> > + }
> >
> > r = vm->update_funcs->commit(¶ms, fence);
> >
>