[PATCH] drm/omap: remove now unused functions

kbuild test robot lkp at intel.com
Fri Jun 22 16:13:54 UTC 2018


Hi Christian,

I love your patch! Yet something to improve:

[auto build test ERROR on drm/drm-next]
[also build test ERROR on v4.18-rc1 next-20180622]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url:    https://github.com/0day-ci/linux/commits/Christian-K-nig/drm-omap-remove-now-unused-functions/20180622-212309
base:   git://people.freedesktop.org/~airlied/linux.git drm-next
config: arm-omap2plus_defconfig (attached as .config)
compiler: arm-linux-gnueabi-gcc (Debian 7.2.0-11) 7.2.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        GCC_VERSION=7.2.0 make.cross ARCH=arm 

All errors (new ones prefixed by >>):

>> drivers/gpu//drm/omapdrm/omap_gem_dmabuf.c:134:16: error: 'omap_gem_dmabuf_kmap_atomic' undeclared here (not in a function); did you mean 'drm_gem_dmabuf_kmap_atomic'?
     .map_atomic = omap_gem_dmabuf_kmap_atomic,
                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~
                   drm_gem_dmabuf_kmap_atomic
>> drivers/gpu//drm/omapdrm/omap_gem_dmabuf.c:135:18: error: 'omap_gem_dmabuf_kunmap_atomic' undeclared here (not in a function); did you mean 'omap_gem_dmabuf_kmap_atomic'?
     .unmap_atomic = omap_gem_dmabuf_kunmap_atomic,
                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                     omap_gem_dmabuf_kmap_atomic

vim +134 drivers/gpu//drm/omapdrm/omap_gem_dmabuf.c

8b6b569e drivers/staging/omapdrm/omap_gem_dmabuf.c Rob Clark        2012-05-17  127  
815ed41b drivers/gpu/drm/omapdrm/omap_gem_dmabuf.c Arvind Yadav     2017-07-02  128  static const struct dma_buf_ops omap_dmabuf_ops = {
6ad11bc3 drivers/staging/omapdrm/omap_gem_dmabuf.c Rob Clark        2012-04-10  129  	.map_dma_buf = omap_gem_map_dma_buf,
6ad11bc3 drivers/staging/omapdrm/omap_gem_dmabuf.c Rob Clark        2012-04-10  130  	.unmap_dma_buf = omap_gem_unmap_dma_buf,
c488dd20 drivers/gpu/drm/omapdrm/omap_gem_dmabuf.c Laurent Pinchart 2017-05-08  131  	.release = drm_gem_dmabuf_release,
6ad11bc3 drivers/staging/omapdrm/omap_gem_dmabuf.c Rob Clark        2012-04-10  132  	.begin_cpu_access = omap_gem_dmabuf_begin_cpu_access,
6ad11bc3 drivers/staging/omapdrm/omap_gem_dmabuf.c Rob Clark        2012-04-10  133  	.end_cpu_access = omap_gem_dmabuf_end_cpu_access,
f9b67f00 drivers/gpu/drm/omapdrm/omap_gem_dmabuf.c Logan Gunthorpe  2017-04-19 @134  	.map_atomic = omap_gem_dmabuf_kmap_atomic,
f9b67f00 drivers/gpu/drm/omapdrm/omap_gem_dmabuf.c Logan Gunthorpe  2017-04-19 @135  	.unmap_atomic = omap_gem_dmabuf_kunmap_atomic,
f9b67f00 drivers/gpu/drm/omapdrm/omap_gem_dmabuf.c Logan Gunthorpe  2017-04-19  136  	.map = omap_gem_dmabuf_kmap,
f9b67f00 drivers/gpu/drm/omapdrm/omap_gem_dmabuf.c Logan Gunthorpe  2017-04-19  137  	.unmap = omap_gem_dmabuf_kunmap,
8b6b569e drivers/staging/omapdrm/omap_gem_dmabuf.c Rob Clark        2012-05-17  138  	.mmap = omap_gem_dmabuf_mmap,
6ad11bc3 drivers/staging/omapdrm/omap_gem_dmabuf.c Rob Clark        2012-04-10  139  };
6ad11bc3 drivers/staging/omapdrm/omap_gem_dmabuf.c Rob Clark        2012-04-10  140  

:::::: The code at line 134 was first introduced by commit
:::::: f9b67f0014cba18f1aabb6fa9272335a043eb6fd dma-buf: Rename dma-ops to prevent conflict with kunmap_atomic macro

:::::: TO: Logan Gunthorpe <logang at deltatee.com>
:::::: CC: Sumit Semwal <sumit.semwal at linaro.org>

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/gzip
Size: 33595 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20180623/20be7e5e/attachment-0001.gz>


More information about the dri-devel mailing list