Hi all,
After merging the amdgpu tree, today's linux-next build (x86_64
allmodconfig clang-17) failed like this:
(in function gfxhub_v1_2_xcp_resume)
drivers/gpu/drm/amd/amdgpu/gfxhub_v1_2.c:657:6: error: variable 'ret' is used uninitialized whenever 'if' condition is false [-Werror,-Wsometimes-uninitialized]
Caused by commit
c554a01e1c08 ("drm/amdgpu: Add GFXHUB v1.2 XCP funcs")
Reported by the kernelci.org bot.
--
Cheers,
Stephen Rothwell
+Srinivasan
This is fixed by https://patchwork.freedesktop.org/patch/538022/
Thanks,
Lijo
On 5/22/2023 12:41 PM, Stephen Rothwell wrote:
> Hi all,
>
> After merging the amdgpu tree, today's linux-next build (x86_64
> allmodconfig clang-17) failed like this:
>
> (in function gfxhub_v1_2_xcp_resume)
> drivers/gpu/drm/amd/amdgpu/gfxhub_v1_2.c:657:6: error: variable 'ret' is used uninitialized whenever 'if' condition is false [-Werror,-Wsometimes-uninitialized]
>
> Caused by commit
>
> c554a01e1c08 ("drm/amdgpu: Add GFXHUB v1.2 XCP funcs")
>
> Reported by the kernelci.org bot.
>