tree:
https://github.com/thierryreding/linux for-5.6/nouveau
head: 3a536588f14e8684b2d6b6257dfa1d8f6f88becd
commit: f465e8eba396ce6a62067718135cc29644029964 [117/138] dma-buf: Remove kernel
map/unmap hooks
config: arm-allmodconfig (attached as .config)
compiler: arm-linux-gnueabi-gcc (GCC) 7.4.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 f465e8eba396ce6a62067718135cc29644029964
# save the attached .config to linux build tree
GCC_VERSION=7.4.0 make.cross ARCH=arm
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
> drivers/dma-buf/udmabuf.c:114:3: error: 'const struct
dma_buf_ops' has no member named 'map'; did you mean 'mmap'?
.map = kmap_udmabuf,
^~~
mmap
> drivers/dma-buf/udmabuf.c:114:12: error: initialization from
incompatible pointer type [-Werror=incompatible-pointer-types]
.map =
kmap_udmabuf,
^~~~~~~~~~~~
drivers/dma-buf/udmabuf.c:114:12: note: (near initialization for
'udmabuf_ops.begin_cpu_access')
> drivers/dma-buf/udmabuf.c:115:3: error: 'const struct
dma_buf_ops' has no member named 'unmap'; did you mean 'vunmap'?
.unmap = kunmap_udmabuf,
^~~~~
vunmap
drivers/dma-buf/udmabuf.c:115:14: error: initialization from incompatible pointer type
[-Werror=incompatible-pointer-types]
.unmap = kunmap_udmabuf,
^~~~~~~~~~~~~~
drivers/dma-buf/udmabuf.c:115:14: note: (near initialization for
'udmabuf_ops.end_cpu_access')
cc1: some warnings being treated as errors
vim +114 drivers/dma-buf/udmabuf.c
fbb0de79507819 Gerd Hoffmann 2018-08-27 109
a34852891ba45d Gerd Hoffmann 2018-09-11 110 static const struct dma_buf_ops udmabuf_ops
= {
fbb0de79507819 Gerd Hoffmann 2018-08-27 111 .map_dma_buf = map_udmabuf,
fbb0de79507819 Gerd Hoffmann 2018-08-27 112 .unmap_dma_buf = unmap_udmabuf,
fbb0de79507819 Gerd Hoffmann 2018-08-27 113 .release = release_udmabuf,
fbb0de79507819 Gerd Hoffmann 2018-08-27 @114 .map = kmap_udmabuf,
fbb0de79507819 Gerd Hoffmann 2018-08-27 @115 .unmap = kunmap_udmabuf,
fbb0de79507819 Gerd Hoffmann 2018-08-27 116 .mmap = mmap_udmabuf,
fbb0de79507819 Gerd Hoffmann 2018-08-27 117 };
fbb0de79507819 Gerd Hoffmann 2018-08-27 118
:::::: The code at line 114 was first introduced by commit
:::::: fbb0de795078190a9834b3409e4b009cfb18a6d4 Add udmabuf misc device
:::::: TO: Gerd Hoffmann <kraxel(a)redhat.com>
:::::: CC: Gerd Hoffmann <kraxel(a)redhat.com>
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org Intel Corporation