Hi all,

On Fri, 23 Aug 2019 17:00:39 -0700 (PDT) "kernelci.org bot" <b...@kernelci.org> 
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: pgp7z34okNAWq.pgp
Description: OpenPGP digital signature

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

Reply via email to