[drm:drm-syncobj 2/8] drivers//dma-buf/sw_sync.c:318:14: error: too few arguments to function 'sync_file_create'
kbuild test robot
fengguang.wu at intel.com
Tue Apr 4 00:05:09 UTC 2017
tree: git://people.freedesktop.org/~airlied/linux.git drm-syncobj
head: af9b558e5436d76fde927fd1f68cc35adec4d6ea
commit: e9069d711a815ca17b9bf687b935ae8383b4565e [2/8] sync_file: add type/flags to sync file object creation.
config: x86_64-rhel (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
git checkout e9069d711a815ca17b9bf687b935ae8383b4565e
# 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:318:14: error: too few arguments to function 'sync_file_create'
sync_file = sync_file_create(&pt->base);
^~~~~~~~~~~~~~~~
In file included from drivers//dma-buf/sw_sync.c:21:0:
include/linux/sync_file.h:56:19: note: declared here
struct sync_file *sync_file_create(struct dma_fence *fence, uint32_t type, uint32_t flags);
^~~~~~~~~~~~~~~~
vim +/sync_file_create +318 drivers//dma-buf/sw_sync.c
1867a23b drivers/staging/android/sw_sync.c Gustavo Padovan 2016-05-31 312 pt = sync_pt_create(obj, sizeof(*pt), data.value);
1867a23b drivers/staging/android/sw_sync.c Gustavo Padovan 2016-05-31 313 if (!pt) {
1867a23b drivers/staging/android/sw_sync.c Gustavo Padovan 2016-05-31 314 err = -ENOMEM;
1867a23b drivers/staging/android/sw_sync.c Gustavo Padovan 2016-05-31 315 goto err;
1867a23b drivers/staging/android/sw_sync.c Gustavo Padovan 2016-05-31 316 }
1867a23b drivers/staging/android/sw_sync.c Gustavo Padovan 2016-05-31 317
1867a23b drivers/staging/android/sw_sync.c Gustavo Padovan 2016-05-31 @318 sync_file = sync_file_create(&pt->base);
f54d1867 drivers/dma-buf/sw_sync.c Chris Wilson 2016-10-25 319 dma_fence_put(&pt->base);
4592bfcd drivers/dma-buf/sw_sync.c Gustavo Padovan 2016-10-26 320 if (!sync_file) {
1867a23b drivers/staging/android/sw_sync.c Gustavo Padovan 2016-05-31 321 err = -ENOMEM;
:::::: The code at line 318 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: 38846 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20170404/40aa757d/attachment-0001.gz>
More information about the dri-devel
mailing list