linux-next: build failure after merge of the amdgpu tree

From: Stephen Rothwell
Date: Mon May 22 2023 - 03:13:12 EST


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

Attachment: pgpeX7Gi5uLhx.pgp
Description: OpenPGP digital signature