[renesas-drivers:master 11/41] drivers/gpu/drm/virtio/virtgpu_prime.c:43:18: error: redefinition of 'virtgpu_gem_prime_get_sg_table'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-drivers.git master
head:   d0b776f71c2b20cab9b508d153d78246d68f57d2
commit: 20d76c5b151e4d7bbd248cdc19d35f6d4fa180a0 [11/41] Merge remote-tracking branch 'drm/drm-next' into renesas-drivers
config: riscv-allmodconfig (attached as .config)
compiler: riscv64-linux-gcc (GCC) 8.1.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 20d76c5b151e4d7bbd248cdc19d35f6d4fa180a0
        # save the attached .config to linux build tree
        GCC_VERSION=8.1.0 make.cross ARCH=riscv 

If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@xxxxxxxxx>

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@xxxxxxxxxx>
:::::: CC: Dave Airlie <airlied@xxxxxxxxxx>

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachment: .config.gz
Description: application/gzip


[Index of Archives]     [Linux Samsung SOC]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux