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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Jun 15, 2022 at 12:38 AM Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> wrote:
>
> 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_resource.c:1835:13: error: 'remove_hpo_dp_link_enc_from_ctx' defined but not used [-Werror=unused-function]
>  1835 | static void remove_hpo_dp_link_enc_from_ctx(struct resource_context *res_ctx,
>       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> cc1: all warnings being treated as errors
>
> Caused by commit
>
>   4e1db0119c64 ("Revert "drm/amdgpu/display: Protect some functions with CONFIG_DRM_AMD_DC_DCN"")
>
> That function is only used when CONFIG_DRM_AMD_DC_DCN is set.

Sorry, I had the fix in my tree, but forgot to push it.  It's there now.

Alex

>
> I have reverted that commit for today.
>
> Could you please add an x86_64 allmodconfig build to your CI?
>
> --
> Cheers,
> Stephen Rothwell



[Index of Archives]     [Linux Kernel]     [Linux USB Development]     [Yosemite News]     [Linux SCSI]

  Powered by Linux