On Thu, 5 Mar 2020 at 02:00, kbuild test robot <[email protected]> wrote: > > tree: https://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu.git > arm/omap > head: e93a1695d7fb551376b1c1220a267d032b6ad159 > commit: e93a1695d7fb551376b1c1220a267d032b6ad159 [4/4] iommu: Enable compile > testing for some of drivers > config: sparc-allyesconfig (attached as .config) > compiler: sparc64-linux-gcc (GCC) 7.5.0 > reproduce: > wget > https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O > ~/bin/make.cross > chmod +x ~/bin/make.cross > git checkout e93a1695d7fb551376b1c1220a267d032b6ad159 > # save the attached .config to linux build tree > GCC_VERSION=7.5.0 make.cross ARCH=sparc > > If you fix the issue, kindly add following tag > Reported-by: kbuild test robot <[email protected]> > > All errors (new ones prefixed by >>): > > drivers/gpu/drm/rockchip/rockchip_drm_gem.c: In function > 'rockchip_gem_alloc_iommu': > >> drivers/gpu/drm/rockchip/rockchip_drm_gem.c:134:20: error: implicit > >> declaration of function 'vmap'; did you mean 'bmap'? > >> [-Werror=implicit-function-declaration] > rk_obj->kvaddr = vmap(rk_obj->pages, rk_obj->num_pages, VM_MAP, > ^~~~ > bmap > >> drivers/gpu/drm/rockchip/rockchip_drm_gem.c:134:59: error: 'VM_MAP' > >> undeclared (first use in this function); did you mean 'VM_MPX'? > rk_obj->kvaddr = vmap(rk_obj->pages, rk_obj->num_pages, VM_MAP, > ^~~~~~ > VM_MPX > drivers/gpu/drm/rockchip/rockchip_drm_gem.c:134:59: note: each undeclared > identifier is reported only once for each function it appears in > drivers/gpu/drm/rockchip/rockchip_drm_gem.c: In function > 'rockchip_gem_free_iommu': > >> drivers/gpu/drm/rockchip/rockchip_drm_gem.c:190:2: error: implicit > >> declaration of function 'vunmap'; did you mean 'iounmap'? > >> [-Werror=implicit-function-declaration] > vunmap(rk_obj->kvaddr); > ^~~~~~ > iounmap > drivers/gpu/drm/rockchip/rockchip_drm_gem.c: In function > 'rockchip_gem_prime_vmap': > drivers/gpu/drm/rockchip/rockchip_drm_gem.c:547:49: error: 'VM_MAP' > undeclared (first use in this function); did you mean 'VM_MPX'? > return vmap(rk_obj->pages, rk_obj->num_pages, VM_MAP, > ^~~~~~ > VM_MPX > cc1: some warnings being treated as errors > > vim +134 drivers/gpu/drm/rockchip/rockchip_drm_gem.c
Hi, +Cc Heiko, This is already fixed in drm-misc here: https://patchwork.freedesktop.org/patch/347106/ Best regards, Krzysztof _______________________________________________ iommu mailing list [email protected] https://lists.linuxfoundation.org/mailman/listinfo/iommu
