[Intel-gfx] [drm-tip:drm-tip 3/9] drivers/gpu/drm/virtio/virtgpu_prime.c:43:18: error: redefinition of 'virtgpu_gem_prime_get_sg_table'

kbuild test robot lkp at intel.com
Wed Apr 24 11:21:51 UTC 2019


tree:   git://anongit.freedesktop.org/drm/drm-tip drm-tip
head:   575436c338f413c032e3accde7933e67f44261fb
commit: 3a6142185c17293159dec428c56f7f1f0ec53f61 [3/9] Merge remote-tracking branch 'drm/drm-next' into drm-tip
config: x86_64-rhel-7.6 (attached as .config)
compiler: gcc-7 (Debian 7.3.0-1) 7.3.0
reproduce:
        git checkout 3a6142185c17293159dec428c56f7f1f0ec53f61
        # save the attached .config to linux build tree
        make ARCH=x86_64 

If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp at intel.com>
All errors (new ones prefixed by >>):

>> drivers/gpu/drm/virtio/virtgpu_prime.c:43:18: error: redefinition of 'virtgpu_gem_prime_get_sg_table'
    struct sg_table *virtgpu_gem_prime_get_sg_table(struct drm_gem_object *obj)
                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/gpu/drm/virtio/virtgpu_prime.c:31:18: note: previous definition of 'virtgpu_gem_prime_get_sg_table' was here
    struct sg_table *virtgpu_gem_prime_get_sg_table(struct drm_gem_object *obj)
                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

vim +/virtgpu_gem_prime_get_sg_table +43 drivers/gpu/drm/virtio/virtgpu_prime.c

11a8f280 Dave Airlie 2015-01-23  42  
a0cecc23 Dave Airlie 2019-04-24 @43  struct sg_table *virtgpu_gem_prime_get_sg_table(struct drm_gem_object *obj)
a0cecc23 Dave Airlie 2019-04-24  44  {
a0cecc23 Dave Airlie 2019-04-24  45  	return ERR_PTR(-ENODEV);
a0cecc23 Dave Airlie 2019-04-24  46  }
a0cecc23 Dave Airlie 2019-04-24  47  

:::::: The code at line 43 was first introduced by commit
:::::: a0cecc23cfcbf2626497a8c8770856dd56b67917 Revert "drm/virtio: drop prime import/export callbacks"

:::::: TO: Dave Airlie <airlied at redhat.com>
:::::: CC: Dave Airlie <airlied at redhat.com>

---
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: 46111 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/intel-gfx/attachments/20190424/80f1a343/attachment-0001.gz>


More information about the Intel-gfx mailing list