[drm:drm-syncobj 2/8] drivers//dma-buf/sw_sync.c:318:14: error: too few arguments to function 'sync_file_create'

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

 



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@xxxxxxxxxxxxxxx>
:::::: CC: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>

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

Attachment: .config.gz
Description: application/gzip

_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/dri-devel

[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux