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

From: Stephen Rothwell
Date: Thu Jan 14 2021 - 20:01:09 EST


Hi all,

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

drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c: In function 'dm_set_vblank':
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:5380:33: warning: unused variable 'dm' [-Wunused-variable]
5380 | struct amdgpu_display_manager *dm = &adev->dm;
| ^~

Caused by commit

98ab5f3513f9 ("drm/amd/display: Fix deadlock during gpu reset v3")

--
Cheers,
Stephen Rothwell

Attachment: pgpcAHDEwjUjy.pgp
Description: OpenPGP digital signature