[drm:drm-syncobj 3/8] drivers/gpu//drm/drm_syncobj.c:115:25: error: 'SYNC_FILE_TYPE_SEMAPHORE' undeclared

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

 



tree:   git://people.freedesktop.org/~airlied/linux.git drm-syncobj
head:   58ec426a9ee099705987657cfad202b5bd96e363
commit: 0b73d1e7e4168f9c80d3c867d8366057290d82fb [3/8] drm: introduce sync objects as sync file objects with no fd (v2.1)
config: i386-randconfig-x070-201715 (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
        git checkout 0b73d1e7e4168f9c80d3c867d8366057290d82fb
        # save the attached .config to linux build tree
        make ARCH=i386 

Note: the drm/drm-syncobj HEAD 58ec426a9ee099705987657cfad202b5bd96e363 builds fine.
      It only hurts bisectibility.

All errors (new ones prefixed by >>):

   drivers/gpu//drm/drm_syncobj.c: In function 'drm_syncobj_handle_to_fd':
>> drivers/gpu//drm/drm_syncobj.c:115:25: error: 'SYNC_FILE_TYPE_SEMAPHORE' undeclared (first use in this function)
     if (sync_file->type != SYNC_FILE_TYPE_SEMAPHORE) {
                            ^~~~~~~~~~~~~~~~~~~~~~~~
   drivers/gpu//drm/drm_syncobj.c:115:25: note: each undeclared identifier is reported only once for each function it appears in
   drivers/gpu//drm/drm_syncobj.c: In function 'drm_syncobj_fd_to_handle':
   drivers/gpu//drm/drm_syncobj.c:139:25: error: 'SYNC_FILE_TYPE_SEMAPHORE' undeclared (first use in this function)
     if (sync_file->type != SYNC_FILE_TYPE_SEMAPHORE) {
                            ^~~~~~~~~~~~~~~~~~~~~~~~
   drivers/gpu//drm/drm_syncobj.c: In function 'drm_syncobj_create_ioctl':
   drivers/gpu//drm/drm_syncobj.c:226:20: error: 'SYNC_FILE_TYPE_SEMAPHORE' undeclared (first use in this function)
     if (args->type != SYNC_FILE_TYPE_SEMAPHORE)
                       ^~~~~~~~~~~~~~~~~~~~~~~~

vim +/SYNC_FILE_TYPE_SEMAPHORE +115 drivers/gpu//drm/drm_syncobj.c

   109	{
   110		struct sync_file *sync_file = drm_syncobj_get(file_private, handle);
   111		int ret;
   112		if (!sync_file)
   113			return -EINVAL;
   114	
 > 115		if (sync_file->type != SYNC_FILE_TYPE_SEMAPHORE) {
   116			fput(sync_file->file);
   117			return -EINVAL;
   118		}

---
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