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

From: Stephen Rothwell <[email-masked]>
Date: Mon, 22 May 2023 17:11:45 +1000

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