Re: [Intel-gfx] [PATCH] dma-buf: Rename dma-ops to prevent conflict with kunmap_atomic macro

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

 



Hi Logan,

[auto build test ERROR on linus/master]
[also build test ERROR on v4.11-rc7 next-20170418]
[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/Logan-Gunthorpe/dma-buf-Rename-dma-ops-to-prevent-conflict-with-kunmap_atomic-macro/20170419-082521
config: arm64-defconfig (attached as .config)
compiler: aarch64-linux-gnu-gcc (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
        wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        make.cross ARCH=arm64 

All errors (new ones prefixed by >>):

>> drivers/gpu/drm/tegra/gem.c:115:2: error: unknown field 'map' specified in initializer
     .map = tegra_bo_kmap,
     ^
>> drivers/gpu/drm/tegra/gem.c:116:2: error: unknown field 'unmap' specified in initializer
     .unmap = tegra_bo_kunmap,
     ^
>> drivers/gpu/drm/tegra/gem.c:622:2: error: unknown field 'kmap_atomic' specified in initializer
     .kmap_atomic = tegra_gem_prime_kmap_atomic,
     ^
>> drivers/gpu/drm/tegra/gem.c:622:17: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
     .kmap_atomic = tegra_gem_prime_kmap_atomic,
                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/gpu/drm/tegra/gem.c:622:17: note: (near initialization for 'tegra_gem_prime_dmabuf_ops.begin_cpu_access')
>> drivers/gpu/drm/tegra/gem.c:623:2: error: unknown field 'kunmap_atomic' specified in initializer
     .kunmap_atomic = tegra_gem_prime_kunmap_atomic,
     ^
   drivers/gpu/drm/tegra/gem.c:623:19: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
     .kunmap_atomic = tegra_gem_prime_kunmap_atomic,
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/gpu/drm/tegra/gem.c:623:19: note: (near initialization for 'tegra_gem_prime_dmabuf_ops.end_cpu_access')
>> drivers/gpu/drm/tegra/gem.c:624:2: error: unknown field 'kmap' specified in initializer
     .kmap = tegra_gem_prime_kmap,
     ^
>> drivers/gpu/drm/tegra/gem.c:625:2: error: unknown field 'kunmap' specified in initializer
     .kunmap = tegra_gem_prime_kunmap,
     ^
   cc1: some warnings being treated as errors

vim +/map +115 drivers/gpu/drm/tegra/gem.c

   109		.get = tegra_bo_get,
   110		.put = tegra_bo_put,
   111		.pin = tegra_bo_pin,
   112		.unpin = tegra_bo_unpin,
   113		.mmap = tegra_bo_mmap,
   114		.munmap = tegra_bo_munmap,
 > 115		.map = tegra_bo_kmap,
 > 116		.unmap = tegra_bo_kunmap,
   117	};
   118	
   119	static int tegra_bo_iommu_map(struct tegra_drm *tegra, struct tegra_bo *bo)

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

Attachment: .config.gz
Description: application/gzip

_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux