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

Alex Deucher alexdeucher at gmail.com
Tue Oct 13 13:01:22 UTC 2020


Applied.  Thanks!

Alex

On Mon, Oct 12, 2020 at 5:21 PM kernel test robot <lkp at intel.com> wrote:
>
> From: kernel test robot <lkp at intel.com>
>
> drivers/gpu/drm/amd/amdgpu/amdgpu_pmu.c:608:2-3: Unneeded semicolon
>
>
>  Remove unneeded semicolon.
>
> Generated by: scripts/coccinelle/misc/semicolon.cocci
>
> Fixes: b4a7db71ea06 ("drm/amdgpu: add per device user friendly xgmi events for vega20")
> CC: Jonathan Kim <jonathan.kim at amd.com>
> Signed-off-by: kernel test robot <lkp at intel.com>
> ---
>
> tree:   git://people.freedesktop.org/~agd5f/linux.git drm-next
> head:   02c3d98ce25b3e4f0b8e830be054c8f4f7f944c1
> commit: b4a7db71ea060218529e6a4c660c37687ecb5669 [286/376] drm/amdgpu: add per device user friendly xgmi events for vega20
>
>  amdgpu_pmu.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_pmu.c
> +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_pmu.c
> @@ -605,7 +605,7 @@ int amdgpu_pmu_init(struct amdgpu_device
>                 break;
>         default:
>                 return 0;
> -       };
> +       }
>
>         return ret;
>  }
> _______________________________________________
> dri-devel mailing list
> dri-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/dri-devel


More information about the dri-devel mailing list