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

From: Stephen Rothwell <[email-masked]>
Date: Tue, 30 Aug 2022 11:41:33 +1000

Hi all,

After merging the amdgpu tree, today's linux-next build (x86_64
allmodconfig) failed like this:

drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c: In function 'commit_planes_for_stream':
drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c:3508:9: error: this 'if' clause does not guard... [-Werror=misleading-indentation]
 3508 |         if (update_type != UPDATE_TYPE_FAST)
      |         ^~
drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c:3510:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
 3510 |                 if (update_type != UPDATE_TYPE_FAST)
      |                 ^~
cc1: all warnings being treated as errors

Caused by commit

  e990bd60716d ("drm/amd/display: Only commit SubVP state after pipe programming")

I have used the amdgpu tree from next-20220829 for today.

-- 
Cheers,
Stephen Rothwell