Re: Kernel - 6.7.3 - failed to compile the module

From: Holger Hoffstätte
Date: Fri Feb 02 2024 - 10:37:49 EST


On Fri, 2 Feb 2024 20:39:14 +0700, Bagas Sanjaya wrote:

> [also Cc: mellanox maintainers]
>
> On Fri, Feb 02, 2024 at 08:55:47AM +0100, Michał Jakubowski wrote:
>> Regarding: https://bugzilla.kernel.org/show_bug.cgi?id=218445
>>
>> CC [M] drivers/gpu/drm/amd/amdgpu/../display/modules/hdcp/hdcp1_execution.o
>> CC [M] drivers/gpu/drm/amd/amdgpu/../display/modules/hdcp/hdcp1_transition.o
>> CC [M] drivers/gpu/drm/amd/amdgpu/../display/modules/hdcp/hdcp2_execution.o
>> CC [M] drivers/gpu/drm/amd/amdgpu/../display/modules/hdcp/hdcp2_transition.o
>> LD [M] drivers/gpu/drm/amd/amdgpu/amdgpu.o
>> MODPOST Module.symvers
>> ERROR: modpost: "sched_numa_hop_mask"
>> [drivers/net/ethernet/mellanox/mlx5/core/mlx5_core.ko] undefined!
>> make[2]: *** [scripts/Makefile.modpost:145: Module.symvers] Error 1
>> make[1]: *** [/usr/src/linux-6.7.3-gentoo/Makefile:1863: modpost] Error 2
>> make: *** [Makefile:234: __sub-make] Error 2
>
> Do you have above build failure on vanilla v6.7.3? Can you also check current
> mainline (v6.8-rc2)?

No need to investigate further, this is caused by an additional non-mainline
patch that has nothing to do with the mellanox driver.

-h