From: kbuild test robot <fengguang.wu@intel.com>
To: Chris Wilson <chris@chris-wilson.co.uk>
Cc: kbuild-all@01.org, linux-kernel@vger.kernel.org,
Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Subject: warning: (DRM_I915_DEBUG) selects SW_SYNC which has unmet direct dependencies (SYNC_FILE && ..)
Date: Tue, 10 Oct 2017 20:49:15 +0800 [thread overview]
Message-ID: <201710102013.95diQI4c%fengguang.wu@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 7587 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 529a86e063e9ff625c4ff247d8aa17d8072444fb
commit: d90cb7f852034e5bf50158b34047effa453a9836 drm/i915: Add SW_SYNC to our recommend testing Kconfig
date: 8 weeks ago
config: x86_64-randconfig-s2-10101944 (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
git checkout d90cb7f852034e5bf50158b34047effa453a9836
# save the attached .config to linux build tree
make ARCH=x86_64
All error/warnings (new ones prefixed by >>):
warning: (DRM_I915_DEBUG) selects SW_SYNC which has unmet direct dependencies (SYNC_FILE && DEBUG_FS)
drivers//dma-buf/sync_debug.c: In function 'sync_file_debug_add':
>> drivers//dma-buf/sync_debug.c:50:26: error: 'struct sync_file' has no member named 'sync_file_list'
list_add_tail(&sync_file->sync_file_list, &sync_file_list_head);
^~
drivers//dma-buf/sync_debug.c: In function 'sync_file_debug_remove':
drivers//dma-buf/sync_debug.c:59:21: error: 'struct sync_file' has no member named 'sync_file_list'
list_del(&sync_file->sync_file_list);
^~
In file included from include/linux/linkage.h:4:0,
from include/linux/fs.h:4,
from include/linux/debugfs.h:18,
from drivers//dma-buf/sync_debug.c:17:
drivers//dma-buf/sync_debug.c: In function 'sync_debugfs_show':
>> include/linux/kernel.h:860:51: error: 'struct sync_file' has no member named 'sync_file_list'
BUILD_BUG_ON_MSG(!__same_type(*(ptr), ((type *)0)->member) && \
^
include/linux/compiler.h:522:19: note: in definition of macro '__compiletime_assert'
bool __cond = !(condition); \
^~~~~~~~~
include/linux/compiler.h:542:2: note: in expansion of macro '_compiletime_assert'
_compiletime_assert(condition, msg, __compiletime_assert_, __LINE__)
^~~~~~~~~~~~~~~~~~~
include/linux/build_bug.h:46:37: note: in expansion of macro 'compiletime_assert'
#define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg)
^~~~~~~~~~~~~~~~~~
include/linux/kernel.h:860:2: note: in expansion of macro 'BUILD_BUG_ON_MSG'
BUILD_BUG_ON_MSG(!__same_type(*(ptr), ((type *)0)->member) && \
^~~~~~~~~~~~~~~~
include/linux/kernel.h:860:20: note: in expansion of macro '__same_type'
BUILD_BUG_ON_MSG(!__same_type(*(ptr), ((type *)0)->member) && \
^~~~~~~~~~~
>> drivers//dma-buf/sync_debug.c:172:4: note: in expansion of macro 'container_of'
container_of(pos, struct sync_file, sync_file_list);
^~~~~~~~~~~~
In file included from include/linux/compiler.h:58:0,
from include/linux/linkage.h:4,
from include/linux/fs.h:4,
from include/linux/debugfs.h:18,
from drivers//dma-buf/sync_debug.c:17:
>> include/linux/compiler-gcc.h:165:2: error: 'struct sync_file' has no member named 'sync_file_list'
__builtin_offsetof(a, b)
^
include/linux/stddef.h:16:32: note: in expansion of macro '__compiler_offsetof'
#define offsetof(TYPE, MEMBER) __compiler_offsetof(TYPE, MEMBER)
^~~~~~~~~~~~~~~~~~~
include/linux/kernel.h:863:21: note: in expansion of macro 'offsetof'
((type *)(__mptr - offsetof(type, member))); })
^~~~~~~~
>> drivers//dma-buf/sync_debug.c:172:4: note: in expansion of macro 'container_of'
container_of(pos, struct sync_file, sync_file_list);
^~~~~~~~~~~~
drivers//dma-buf/sync_debug.c: In function 'sync_debugfs_init':
drivers//dma-buf/sync_debug.c:202:2: error: implicit declaration of function 'debugfs_create_file_unsafe' [-Werror=implicit-function-declaration]
debugfs_create_file_unsafe("info", 0444, dbgfs, NULL,
^~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
--
drivers/dma-buf/sync_debug.c: In function 'sync_file_debug_add':
drivers/dma-buf/sync_debug.c:50:26: error: 'struct sync_file' has no member named 'sync_file_list'
list_add_tail(&sync_file->sync_file_list, &sync_file_list_head);
^~
drivers/dma-buf/sync_debug.c: In function 'sync_file_debug_remove':
drivers/dma-buf/sync_debug.c:59:21: error: 'struct sync_file' has no member named 'sync_file_list'
list_del(&sync_file->sync_file_list);
^~
In file included from include/linux/linkage.h:4:0,
from include/linux/fs.h:4,
from include/linux/debugfs.h:18,
from drivers/dma-buf/sync_debug.c:17:
drivers/dma-buf/sync_debug.c: In function 'sync_debugfs_show':
>> include/linux/kernel.h:860:51: error: 'struct sync_file' has no member named 'sync_file_list'
BUILD_BUG_ON_MSG(!__same_type(*(ptr), ((type *)0)->member) && \
^
include/linux/compiler.h:522:19: note: in definition of macro '__compiletime_assert'
bool __cond = !(condition); \
^~~~~~~~~
include/linux/compiler.h:542:2: note: in expansion of macro '_compiletime_assert'
_compiletime_assert(condition, msg, __compiletime_assert_, __LINE__)
^~~~~~~~~~~~~~~~~~~
include/linux/build_bug.h:46:37: note: in expansion of macro 'compiletime_assert'
#define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg)
^~~~~~~~~~~~~~~~~~
include/linux/kernel.h:860:2: note: in expansion of macro 'BUILD_BUG_ON_MSG'
BUILD_BUG_ON_MSG(!__same_type(*(ptr), ((type *)0)->member) && \
^~~~~~~~~~~~~~~~
include/linux/kernel.h:860:20: note: in expansion of macro '__same_type'
BUILD_BUG_ON_MSG(!__same_type(*(ptr), ((type *)0)->member) && \
^~~~~~~~~~~
drivers/dma-buf/sync_debug.c:172:4: note: in expansion of macro 'container_of'
container_of(pos, struct sync_file, sync_file_list);
^~~~~~~~~~~~
In file included from include/linux/compiler.h:58:0,
from include/linux/linkage.h:4,
from include/linux/fs.h:4,
from include/linux/debugfs.h:18,
from drivers/dma-buf/sync_debug.c:17:
>> include/linux/compiler-gcc.h:165:2: error: 'struct sync_file' has no member named 'sync_file_list'
__builtin_offsetof(a, b)
^
include/linux/stddef.h:16:32: note: in expansion of macro '__compiler_offsetof'
#define offsetof(TYPE, MEMBER) __compiler_offsetof(TYPE, MEMBER)
^~~~~~~~~~~~~~~~~~~
include/linux/kernel.h:863:21: note: in expansion of macro 'offsetof'
((type *)(__mptr - offsetof(type, member))); })
^~~~~~~~
drivers/dma-buf/sync_debug.c:172:4: note: in expansion of macro 'container_of'
container_of(pos, struct sync_file, sync_file_list);
^~~~~~~~~~~~
drivers/dma-buf/sync_debug.c: In function 'sync_debugfs_init':
drivers/dma-buf/sync_debug.c:202:2: error: implicit declaration of function 'debugfs_create_file_unsafe' [-Werror=implicit-function-declaration]
debugfs_create_file_unsafe("info", 0444, dbgfs, NULL,
^~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 27565 bytes --]
reply other threads:[~2017-10-10 12:38 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201710102013.95diQI4c%fengguang.wu@intel.com \
--to=fengguang.wu@intel.com \
--cc=chris@chris-wilson.co.uk \
--cc=joonas.lahtinen@linux.intel.com \
--cc=kbuild-all@01.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®