Re: linux-next: build warning after merge of the drm-fixes tree

2019-08-22 Thread Alex Deucher
On Thu, Aug 22, 2019 at 6:06 PM Stephen Rothwell  wrote:
>
> Hi all,
>
> After merging the drm-fixes tree, today's linux-next build (KCONFIG_NAME)
> produced this warning:
>
> drivers/gpu/drm/amd/amdgpu/../powerplay/smu_v11_0.c: In function 
> 'smu_v11_0_setup_pptable':
> drivers/gpu/drm/amd/amdgpu/../powerplay/smu_v11_0.c:368:40: warning: 'size' 
> may be used uninitialized in this function [-Wmaybe-uninitialized]
>smu->smu_table.power_play_table_size = size;
>~^~
>
> Introduced by commit
>
>   00430144ff73 ("drm/amd/powerplay: fix variable type errors in 
> smu_v11_0_setup_pptable")
>
> Looks like a false positive.

Silenced here:
https://patchwork.freedesktop.org/patch/325728/

Alex

>
> --
> Cheers,
> Stephen Rothwell
> ___
> dri-devel mailing list
> dri-devel@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/dri-devel


linux-next: build warning after merge of the drm-fixes tree

2019-08-22 Thread Stephen Rothwell
Hi all,

After merging the drm-fixes tree, today's linux-next build (KCONFIG_NAME)
produced this warning:

drivers/gpu/drm/amd/amdgpu/../powerplay/smu_v11_0.c: In function 
'smu_v11_0_setup_pptable':
drivers/gpu/drm/amd/amdgpu/../powerplay/smu_v11_0.c:368:40: warning: 'size' may 
be used uninitialized in this function [-Wmaybe-uninitialized]
   smu->smu_table.power_play_table_size = size;
   ~^~

Introduced by commit

  00430144ff73 ("drm/amd/powerplay: fix variable type errors in 
smu_v11_0_setup_pptable")

Looks like a false positive.

-- 
Cheers,
Stephen Rothwell


pgpQGhfPiC2Tj.pgp
Description: OpenPGP digital signature