[drm:drm-syncobj 3/8] drivers/gpu//drm/drm_syncobj.c:115:25: error: 'SYNC_FILE_TYPE_SEMAPHORE' undeclared
kbuild test robot
fengguang.wu at intel.com
Wed Apr 12 05:32:20 UTC 2017
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/gzip
Size: 24741 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20170412/608411d8/attachment-0001.gz>
More information about the dri-devel
mailing list