[PATCH] dma-buf/sync-file: Defer creation of sync_file->name

kbuild test robot lkp at intel.com
Tue May 16 10:21:52 UTC 2017


Hi Chris,

[auto build test ERROR on linus/master]
[also build test ERROR on v4.12-rc1 next-20170516]
[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/Chris-Wilson/dma-buf-sync-file-Defer-creation-of-sync_file-name/20170512-193751
config: x86_64-rhel (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All errors (new ones prefixed by >>):

   drivers//dma-buf/sync_debug.c: In function 'sync_print_sync_file':
>> drivers//dma-buf/sync_debug.c:137:53: error: 'struct sync_file' has no member named 'name'
     seq_printf(s, "[%p] %s: %s\n", sync_file, sync_file->name,
                                                        ^~

vim +137 drivers//dma-buf/sync_debug.c

0f0d8406 drivers/staging/android/sync_debug.c Maarten Lankhorst 2014-07-01  131  
d7fdb0ae drivers/staging/android/sync_debug.c Gustavo Padovan   2016-01-21  132  static void sync_print_sync_file(struct seq_file *s,
d7fdb0ae drivers/staging/android/sync_debug.c Gustavo Padovan   2016-01-21  133  				  struct sync_file *sync_file)
0f0d8406 drivers/staging/android/sync_debug.c Maarten Lankhorst 2014-07-01  134  {
0f0d8406 drivers/staging/android/sync_debug.c Maarten Lankhorst 2014-07-01  135  	int i;
0f0d8406 drivers/staging/android/sync_debug.c Maarten Lankhorst 2014-07-01  136  
d7fdb0ae drivers/staging/android/sync_debug.c Gustavo Padovan   2016-01-21 @137  	seq_printf(s, "[%p] %s: %s\n", sync_file, sync_file->name,
d6c99f4b drivers/dma-buf/sync_debug.c         Chris Wilson      2017-01-04  138  		   sync_status_str(dma_fence_get_status(sync_file->fence)));
0f0d8406 drivers/staging/android/sync_debug.c Maarten Lankhorst 2014-07-01  139  
f54d1867 drivers/dma-buf/sync_debug.c         Chris Wilson      2016-10-25  140  	if (dma_fence_is_array(sync_file->fence)) {

:::::: The code at line 137 was first introduced by commit
:::::: d7fdb0ae9d115fa14ff3a5382c8a62de41c7786a staging/android: rename sync_fence to sync_file

:::::: 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: 39258 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20170516/ac4f9ff3/attachment-0001.gz>


More information about the dri-devel mailing list