[drm:drm-syncobj-sem 3/7] drivers//dma-buf/sw_sync.c:327:17: error: 'struct sync_file' has no member named 'file'
kbuild test robot
fengguang.wu at intel.com
Thu Apr 13 03:30:03 UTC 2017
tree: git://people.freedesktop.org/~airlied/linux.git drm-syncobj-sem
head: 7194cd4513c3cb05f312dc66c36a2c9fbd4c1aa1
commit: 8281fe367426f82485f68767c5c8c7106685e9a9 [3/7] sync_file: split out fence_file base class from sync_file.
config: x86_64-rhel (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
git checkout 8281fe367426f82485f68767c5c8c7106685e9a9
# save the attached .config to linux build tree
make ARCH=x86_64
All errors (new ones prefixed by >>):
drivers//dma-buf/sw_sync.c: In function 'sw_sync_ioctl_create_fence':
>> drivers//dma-buf/sw_sync.c:327:17: error: 'struct sync_file' has no member named 'file'
fput(sync_file->file);
^~
drivers//dma-buf/sw_sync.c:332:26: error: 'struct sync_file' has no member named 'file'
fd_install(fd, sync_file->file);
^~
--
drivers//dma-buf/sync_debug.c: In function 'sync_print_sync_file':
>> drivers//dma-buf/sync_debug.c:138:52: error: 'struct sync_file' has no member named 'fence'
sync_status_str(dma_fence_get_status(sync_file->fence)));
^~
drivers//dma-buf/sync_debug.c:140:34: error: 'struct sync_file' has no member named 'fence'
if (dma_fence_is_array(sync_file->fence)) {
^~
drivers//dma-buf/sync_debug.c:141:63: error: 'struct sync_file' has no member named 'fence'
struct dma_fence_array *array = to_dma_fence_array(sync_file->fence);
^~
drivers//dma-buf/sync_debug.c:146:32: error: 'struct sync_file' has no member named 'fence'
sync_print_fence(s, sync_file->fence, true);
^~
vim +327 drivers//dma-buf/sw_sync.c
1867a23b drivers/staging/android/sw_sync.c Gustavo Padovan 2016-05-31 321 err = -ENOMEM;
1867a23b drivers/staging/android/sw_sync.c Gustavo Padovan 2016-05-31 322 goto err;
1867a23b drivers/staging/android/sw_sync.c Gustavo Padovan 2016-05-31 323 }
1867a23b drivers/staging/android/sw_sync.c Gustavo Padovan 2016-05-31 324
1867a23b drivers/staging/android/sw_sync.c Gustavo Padovan 2016-05-31 325 data.fence = fd;
1867a23b drivers/staging/android/sw_sync.c Gustavo Padovan 2016-05-31 326 if (copy_to_user((void __user *)arg, &data, sizeof(data))) {
1867a23b drivers/staging/android/sw_sync.c Gustavo Padovan 2016-05-31 @327 fput(sync_file->file);
1867a23b drivers/staging/android/sw_sync.c Gustavo Padovan 2016-05-31 328 err = -EFAULT;
1867a23b drivers/staging/android/sw_sync.c Gustavo Padovan 2016-05-31 329 goto err;
1867a23b drivers/staging/android/sw_sync.c Gustavo Padovan 2016-05-31 330 }
:::::: The code at line 327 was first introduced by commit
:::::: 1867a23b13b25d0a228b0509ade20fb977dcb601 staging/android: move sw_sync related code to sw_sync.c
:::::: TO: Gustavo Padovan <gustavo.padovan at collabora.co.uk>
:::::: CC: Greg Kroah-Hartman <gregkh at linuxfoundation.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: 38877 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20170413/4d2bfc4c/attachment-0001.gz>
More information about the dri-devel
mailing list