Hi all, On Fri, 23 Aug 2019 17:00:39 -0700 (PDT) "kernelci.org bot" <bot@xxxxxxxxxxxx> wrote: > > 2 drivers/gpu/drm/mediatek/mtk_drm_drv.c:291:8: error: implicit declaration of function 'dma_set_max_seg_size'; did you mean 'drm_rect_adjust_size'? [-Werror=implicit-function-declaration] > 2 drivers/gpu/drm/mediatek/mtk_drm_drv.c:291:52: error: implicit declaration of function 'DMA_BIT_MASK'; did you mean 'BIT_MASK'? [-Werror=implicit-function-declaration] > 1 drivers/gpu/drm/mediatek/mtk_drm_drv.c:291:8: error: this function declaration is not a prototype [-Werror,-Wstrict-prototypes] > 1 drivers/gpu/drm/mediatek/mtk_drm_drv.c:291:8: error: implicit declaration of function 'dma_set_max_seg_size' [-Werror,-Wimplicit-function-declaration] > 1 drivers/gpu/drm/mediatek/mtk_drm_drv.c:291:52: error: this function declaration is not a prototype [-Werror,-Wstrict-prototypes] > 1 drivers/gpu/drm/mediatek/mtk_drm_drv.c:291:52: error: implicit declaration of function 'DMA_BIT_MASK' [-Werror,-Wimplicit-function-declaration] Caused by commit 070955558e82 ("drm/mediatek: set DMA max segment size") (from the drm-fixes tree) which should have included linux/dma-mapping.h -- Cheers, Stephen Rothwell
Attachment:
pgp3yhQ3w9Agf.pgp
Description: OpenPGP digital signature
_______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/dri-devel