Re: [PATCH] dma-buf: Replace reservation shared fence array with a compressed radix tree

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

 



Hi Chris,

[auto build test ERROR on drm/drm-next]
[also build test ERROR on next-20161114]
[cannot apply to v4.9-rc5]
[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-Replace-reservation-shared-fence-array-with-a-compressed-radix-tree/20161114-163437
base:   git://people.freedesktop.org/~airlied/linux.git drm-next
config: x86_64-randconfig-x009-201646 (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 error/warnings (new ones prefixed by >>):

   drivers/gpu/drm/radeon/radeon_sync.c: In function 'radeon_sync_resv':
>> drivers/gpu/drm/radeon/radeon_sync.c:110:2: error: implicit declaration of function 'resevation_object_for_each_shared' [-Werror=implicit-function-declaration]
     resevation_object_for_each_shared(resv, iter) {
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> drivers/gpu/drm/radeon/radeon_sync.c:110:48: error: expected ';' before '{' token
     resevation_object_for_each_shared(resv, iter) {
                                                   ^
>> drivers/gpu/drm/radeon/radeon_sync.c:121:1: warning: control reaches end of non-void function [-Wreturn-type]
    }
    ^
   cc1: some warnings being treated as errors

vim +/resevation_object_for_each_shared +110 drivers/gpu/drm/radeon/radeon_sync.c

   104		else if (f)
   105			r = dma_fence_wait(f, true);
   106	
   107		if (shared || !reservation_object_has_shared(resv) || r)
   108			return r;
   109	
 > 110		resevation_object_for_each_shared(resv, iter) {
   111			fence = to_radeon_fence(iter.fence);
   112			if (fence && fence->rdev == rdev)
   113				radeon_sync_fence(sync, fence);
   114			else
   115				r = dma_fence_wait(f, true);
   116	
   117			if (r)
   118				break;
   119		}
   120		return r;
 > 121	}
   122	
   123	/**
   124	 * radeon_sync_rings - sync ring to all registered fences

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

Attachment: .config.gz
Description: application/gzip

_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux