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

From: Huang, Ray
Date: Mon Jan 18 2021 - 01:02:12 EST


[AMD Public Use]

Thanks Setphen. Please check attached V2 patch.
(If you can share the config file to me, I can do the test in my side)

Best Regards,
Ray

-----Original Message-----
From: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx>
Sent: Monday, January 18, 2021 1:29 PM
To: Alex Deucher <alexdeucher@xxxxxxxxx>
Cc: Huang, Ray <Ray.Huang@xxxxxxx>; Linux Kernel Mailing List <linux-kernel@xxxxxxxxxxxxxxx>; Linux Next Mailing List <linux-next@xxxxxxxxxxxxxxx>
Subject: linux-next: build warning after merge of the amdgpu tree

Hi all,

After merging the amdgpu tree, today's linux-next build (powerpc
allyesconfig) gave this warning:

drivers/gpu/drm/amd/amdgpu/../pm/swsmu/smu11/vangogh_ppt.c: In function 'vangogh_init_smc_tables':
drivers/gpu/drm/amd/amdgpu/../pm/swsmu/smu11/vangogh_ppt.c:338:5: warning: "CONFIG_X86" is not defined, evaluates to 0 [-Wundef]
338 | #if CONFIG_X86
| ^~~~~~~~~~

Caused by commit

9dd19d5232a6 ("drm/amdgpu: fix build error without x86 kconfig")

--
Cheers,
Stephen Rothwell

Attachment: 0001-drm-amdgpu-fix-build-error-without-x86-kconfig-v2.patch
Description: 0001-drm-amdgpu-fix-build-error-without-x86-kconfig-v2.patch