> -Original Message-
> From: amd-gfx [mailto:amd-gfx-boun...@lists.freedesktop.org] On Behalf
> Of Dan Carpenter
> Sent: Monday, April 03, 2017 3:35 PM
> To: Alex Deucher
> Cc: Wang, Ken; amd-gfx list
> Subject: Re: [bug report] drm/amdgpu: soc15 enable
If we added an:
else
BUG();
that would silence the warning.
regards,
dan carpenter
___
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
On Mon, Apr 03, 2017 at 03:12:31PM -0400, Alex Deucher wrote:
> On Mon, Apr 3, 2017 at 2:53 PM, Dan Carpenter
> wrote:
> > Hello Ken Wang,
> >
> > The patch 220ab9bd1ccf: "drm/amdgpu: soc15 enable (v3)" from Mar 6,
> > 2017, leads to the following static checker
Hello Ken Wang,
The patch 220ab9bd1ccf: "drm/amdgpu: soc15 enable (v3)" from Mar 6,
2017, leads to the following static checker warning:
drivers/gpu/drm/amd/amdgpu/soc15.c:110 soc15_pcie_rreg()
error: potentially dereferencing uninitialized 'nbio_pcie_id'.