2023-05-22 07:45:44

by Stephen Rothwell

[permalink] [raw]
Subject: linux-next: build failure after merge of the amdgpu tree

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


Attachments:
(No filename) (499.00 B)
OpenPGP digital signature

2023-05-22 07:45:48

by Lazar, Lijo

[permalink] [raw]
Subject: Re: linux-next: build failure after merge of the amdgpu tree

+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.
>