v6.3-r1: Build error with CONFIG_NUMA

I'm trying to compile kernel 6.3.1 with Ubuntu packaging (https://git.launchpad.net/~ubuntu-kernel-test/ubuntu/+source/linux/+git/mainline-crack/tag/?h=cod/mainline/v6.3.1) and prjc_v6.3-r1, but I'm getting an error:

MODPOST Module.symvers
ERROR: modpost: "sched_numa_hop_mask" [drivers/net/ethernet/mellanox/mlx5/core/mlx5_core.ko] undefined!

I think the appropriate options needed in config to reproduce (even without the Ubuntu packaging) are:

CONFIG_NUMA=y
CONFIG_MLX5_CORE=m

Implementation of the function sched_numa_hop_mask is missing, but I'm not sure what would be the proper stub implementation. In this particular case, it looks like the function is called through a macro for_each_numa_hop_mask, and I'm not sure if the proper behavior here is to not enumerate anything or is it something else.