Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1601856 > unrolled thread

Re: linux-4.11-rc1/drivers/gpu/drm/amd/amdgpu/vi.c: 3 bugs

Started byAlex Deucher <alexdeucher@gmail.com>
First post2017-03-16 03:10 +0100
Last post2017-03-16 03:10 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: linux-4.11-rc1/drivers/gpu/drm/amd/amdgpu/vi.c: 3 bugs Alex Deucher <alexdeucher@gmail.com> - 2017-03-16 03:10 +0100

#1601856 — Re: linux-4.11-rc1/drivers/gpu/drm/amd/amdgpu/vi.c: 3 bugs

FromAlex Deucher <alexdeucher@gmail.com>
Date2017-03-16 03:10 +0100
SubjectRe: linux-4.11-rc1/drivers/gpu/drm/amd/amdgpu/vi.c: 3 bugs
Message-ID<tlt1w-8aE-19@gated-at.bofh.it>
On Mon, Mar 6, 2017 at 4:40 AM, David Binderman <dcb314@hotmail.com> wrote:
>
> Hello there,
> 1
>
> [linux-4.11-rc1/drivers/gpu/drm/amd/amdgpu/vi.c:1041] -> [linux-4.11-rc1/drivers/gpu/drm/amd/amdgpu/vi.c:1037]: (style) Same expression on both sides of '|'.
>
> Maybe the macro AMD_CG_SUPPORT_GFX_MGLS is used twice ?
>
> 2.
>
> [linux-4.11-rc1/drivers/gpu/drm/amd/amdgpu/vi.c:1070] -> [linux-4.11-rc1/drivers/gpu/drm/amd/amdgpu/vi.c:1066]: (style) Same expression on both sides of '|'.
>
> Duplicate.
>
> In the same file:
>
> linux-4.11-rc1/drivers/gpu/drm/amd/amdgpu/vi.c:792]: (style) Variable 'r' is assigned a value that is never used.
>
> Source code is
>
>     r = vi_set_uvd_clock(adev, dclk, ixCG_DCLK_CNTL, ixCG_DCLK_STATUS);
>
>     return 0;

Thanks, patches sent.

Alex

>
> Regards
>
> David Binderman
> _______________________________________________
> amd-gfx mailing list
> amd-gfx@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/amd-gfx

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web