ERROR: modpost: module drm_cma_helper uses symbol dma_buf_vunmap from namespace DMA_BUF, but does not import it.

From: Naresh Kamboju
Date: Wed Oct 27 2021 - 08:44:19 EST


Regression found on arm64 gcc-10 and gcc-11 built with defconfig
Following build warnings / errors reported on linux next 20211027.

metadata:
git_describe: next-20211027
git_repo: https://gitlab.com/Linaro/lkft/mirrors/next/linux-next
git_short_log: ae5179317e79 (\"Add linux-next specific files for 20211027\")
target_arch: arm64
toolchain: gcc-11

build error :
--------------
ERROR: modpost: module drm_cma_helper uses symbol dma_buf_vunmap from
namespace DMA_BUF, but does not import it.
ERROR: modpost: module drm_cma_helper uses symbol dma_buf_vmap from
namespace DMA_BUF, but does not import it.
make[2]: *** [/builds/linux/scripts/Makefile.modpost:134:
modules-only.symvers] Error 1
make[2]: *** Deleting file 'modules-only.symvers'
make[2]: Target '__modpost' not remade because of errors.

Reported-by: Linux Kernel Functional Testing <lkft@xxxxxxxxxx>

build link:
-----------
https://builds.tuxbuild.com/205SAU159J0g6lSlRRS11o5hHyY/build.log

build config:
-------------
https://builds.tuxbuild.com/205SAU159J0g6lSlRRS11o5hHyY/config

# To install tuxmake on your system globally
# sudo pip3 install -U tuxmake
tuxmake --runtime podman --target-arch arm64 --toolchain gcc-11
--kconfig defconfig

--
Linaro LKFT
https://lkft.linaro.org