From: kbuild test robot <lkp@intel.com>
To: David Howells <dhowells@redhat.com>
Cc: kbuild-all@01.org, arnd@arndb.de, dhowells@redhat.com,
linux-kernel@vger.kernel.org, ruchandani.tina@gmail.com,
linux-afs@lists.infradead.org
Subject: Re: [PATCH 1/2] afs: Move UUID struct to linux/uuid.h
Date: Fri, 13 Jan 2017 18:48:28 +0800 [thread overview]
Message-ID: <201701131814.IVWwh9ZY%fengguang.wu@intel.com> (raw)
In-Reply-To: <148422219487.9419.2588525606361566422.stgit@warthog.procyon.org.uk>
[-- Attachment #1: Type: text/plain, Size: 11315 bytes --]
Hi David,
[auto build test ERROR on linus/master]
[also build test ERROR on v4.10-rc3 next-20170113]
[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/David-Howells/afs-Move-UUID-struct-to-linux-uuid-h/20170113-134212
config: x86_64-randconfig-b0-01131757 (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
Note: the linux-review/David-Howells/afs-Move-UUID-struct-to-linux-uuid-h/20170113-134212 HEAD c4259bc3968ea592af3a1599099327eb67e6019d builds fine.
It only hurts bisectibility.
All error/warnings (new ones prefixed by >>):
fs/afs/main.c: In function 'afs_get_client_UUID':
fs/afs/main.c:48:2: error: invalid use of undefined type 'struct uuid_v1'
ret = afs_get_MAC_address(afs_uuid.node, sizeof(afs_uuid.node));
^~~
fs/afs/main.c:48:2: error: invalid use of undefined type 'struct uuid_v1'
fs/afs/main.c:55:14: error: 'UUID_TO_UNIX_TIME' undeclared (first use in this function)
uuidtime += UUID_TO_UNIX_TIME;
^~~~~~~~~~~~~~~~~
fs/afs/main.c:55:14: note: each undeclared identifier is reported only once for each function it appears in
fs/afs/main.c:56:2: error: invalid use of undefined type 'struct uuid_v1'
afs_uuid.time_low = htonl(uuidtime);
^~~~~~~~
fs/afs/main.c:57:2: error: invalid use of undefined type 'struct uuid_v1'
afs_uuid.time_mid = htons(uuidtime >> 32);
^~~~~~~~
fs/afs/main.c:58:28: error: 'UUID_TIMEHI_MASK' undeclared (first use in this function)
hi_v = (uuidtime >> 48) & UUID_TIMEHI_MASK;
^~~~~~~~~~~~~~~~
fs/afs/main.c:59:10: error: 'UUID_VERSION_TIME' undeclared (first use in this function)
hi_v |= UUID_VERSION_TIME;
^~~~~~~~~~~~~~~~~
fs/afs/main.c:60:2: error: invalid use of undefined type 'struct uuid_v1'
afs_uuid.time_hi_and_version = htons(hi_v);
^~~~~~~~
fs/afs/main.c:63:2: error: invalid use of undefined type 'struct uuid_v1'
afs_uuid.clock_seq_low = clockseq;
^~~~~~~~
fs/afs/main.c:64:2: error: invalid use of undefined type 'struct uuid_v1'
afs_uuid.clock_seq_hi_and_reserved =
^~~~~~~~
fs/afs/main.c:65:21: error: 'UUID_CLOCKHI_MASK' undeclared (first use in this function)
(clockseq >> 8) & UUID_CLOCKHI_MASK;
^~~~~~~~~~~~~~~~~
fs/afs/main.c:66:2: error: invalid use of undefined type 'struct uuid_v1'
afs_uuid.clock_seq_hi_and_reserved |= UUID_VARIANT_STD;
^~~~~~~~
fs/afs/main.c:66:40: error: 'UUID_VARIANT_STD' undeclared (first use in this function)
afs_uuid.clock_seq_hi_and_reserved |= UUID_VARIANT_STD;
^~~~~~~~~~~~~~~~
In file included from include/uapi/linux/stddef.h:1:0,
from include/linux/stddef.h:4,
from include/uapi/linux/posix_types.h:4,
from include/uapi/linux/types.h:13,
from include/linux/types.h:5,
from include/linux/list.h:4,
from include/linux/module.h:9,
from fs/afs/main.c:12:
>> include/linux/compiler.h:117:18: error: invalid use of undefined type 'struct uuid_v1'
static struct ftrace_branch_data \
^
include/linux/compiler.h:139:58: note: in expansion of macro '__branch_check__'
# define unlikely(x) (__builtin_constant_p(x) ? !!(x) : __branch_check__(x, 0))
^~~~~~~~~~~~~~~~
>> fs/afs/internal.h:769:6: note: in expansion of macro 'unlikely'
if (unlikely(afs_debug & AFS_DEBUG_KDEBUG)) \
^~~~~~~~
fs/afs/main.c:68:2: note: in expansion of macro '_debug'
_debug("AFS UUID: %08x-%04x-%04x-%02x%02x-%02x%02x%02x%02x%02x%02x",
^~~~~~
>> include/linux/compiler.h:117:18: error: invalid use of undefined type 'struct uuid_v1'
static struct ftrace_branch_data \
^
include/linux/compiler.h:139:58: note: in expansion of macro '__branch_check__'
# define unlikely(x) (__builtin_constant_p(x) ? !!(x) : __branch_check__(x, 0))
^~~~~~~~~~~~~~~~
>> fs/afs/internal.h:769:6: note: in expansion of macro 'unlikely'
if (unlikely(afs_debug & AFS_DEBUG_KDEBUG)) \
^~~~~~~~
fs/afs/main.c:68:2: note: in expansion of macro '_debug'
_debug("AFS UUID: %08x-%04x-%04x-%02x%02x-%02x%02x%02x%02x%02x%02x",
^~~~~~
>> include/linux/compiler.h:117:18: error: invalid use of undefined type 'struct uuid_v1'
static struct ftrace_branch_data \
^
include/linux/compiler.h:139:58: note: in expansion of macro '__branch_check__'
# define unlikely(x) (__builtin_constant_p(x) ? !!(x) : __branch_check__(x, 0))
^~~~~~~~~~~~~~~~
>> fs/afs/internal.h:769:6: note: in expansion of macro 'unlikely'
if (unlikely(afs_debug & AFS_DEBUG_KDEBUG)) \
^~~~~~~~
fs/afs/main.c:68:2: note: in expansion of macro '_debug'
_debug("AFS UUID: %08x-%04x-%04x-%02x%02x-%02x%02x%02x%02x%02x%02x",
^~~~~~
>> include/linux/compiler.h:117:18: error: invalid use of undefined type 'struct uuid_v1'
static struct ftrace_branch_data \
^
include/linux/compiler.h:139:58: note: in expansion of macro '__branch_check__'
# define unlikely(x) (__builtin_constant_p(x) ? !!(x) : __branch_check__(x, 0))
^~~~~~~~~~~~~~~~
>> fs/afs/internal.h:769:6: note: in expansion of macro 'unlikely'
if (unlikely(afs_debug & AFS_DEBUG_KDEBUG)) \
^~~~~~~~
fs/afs/main.c:68:2: note: in expansion of macro '_debug'
_debug("AFS UUID: %08x-%04x-%04x-%02x%02x-%02x%02x%02x%02x%02x%02x",
^~~~~~
>> include/linux/compiler.h:117:18: error: invalid use of undefined type 'struct uuid_v1'
static struct ftrace_branch_data \
^
include/linux/compiler.h:139:58: note: in expansion of macro '__branch_check__'
# define unlikely(x) (__builtin_constant_p(x) ? !!(x) : __branch_check__(x, 0))
^~~~~~~~~~~~~~~~
>> fs/afs/internal.h:769:6: note: in expansion of macro 'unlikely'
if (unlikely(afs_debug & AFS_DEBUG_KDEBUG)) \
^~~~~~~~
fs/afs/main.c:68:2: note: in expansion of macro '_debug'
_debug("AFS UUID: %08x-%04x-%04x-%02x%02x-%02x%02x%02x%02x%02x%02x",
^~~~~~
>> include/linux/compiler.h:117:18: error: invalid use of undefined type 'struct uuid_v1'
static struct ftrace_branch_data \
^
include/linux/compiler.h:139:58: note: in expansion of macro '__branch_check__'
# define unlikely(x) (__builtin_constant_p(x) ? !!(x) : __branch_check__(x, 0))
^~~~~~~~~~~~~~~~
>> fs/afs/internal.h:769:6: note: in expansion of macro 'unlikely'
if (unlikely(afs_debug & AFS_DEBUG_KDEBUG)) \
^~~~~~~~
fs/afs/main.c:68:2: note: in expansion of macro '_debug'
_debug("AFS UUID: %08x-%04x-%04x-%02x%02x-%02x%02x%02x%02x%02x%02x",
^~~~~~
>> include/linux/compiler.h:117:18: error: invalid use of undefined type 'struct uuid_v1'
static struct ftrace_branch_data \
^
include/linux/compiler.h:139:58: note: in expansion of macro '__branch_check__'
# define unlikely(x) (__builtin_constant_p(x) ? !!(x) : __branch_check__(x, 0))
^~~~~~~~~~~~~~~~
>> fs/afs/internal.h:769:6: note: in expansion of macro 'unlikely'
if (unlikely(afs_debug & AFS_DEBUG_KDEBUG)) \
^~~~~~~~
fs/afs/main.c:68:2: note: in expansion of macro '_debug'
_debug("AFS UUID: %08x-%04x-%04x-%02x%02x-%02x%02x%02x%02x%02x%02x",
^~~~~~
>> include/linux/compiler.h:117:18: error: invalid use of undefined type 'struct uuid_v1'
static struct ftrace_branch_data \
^
include/linux/compiler.h:139:58: note: in expansion of macro '__branch_check__'
# define unlikely(x) (__builtin_constant_p(x) ? !!(x) : __branch_check__(x, 0))
^~~~~~~~~~~~~~~~
>> fs/afs/internal.h:769:6: note: in expansion of macro 'unlikely'
if (unlikely(afs_debug & AFS_DEBUG_KDEBUG)) \
^~~~~~~~
fs/afs/main.c:68:2: note: in expansion of macro '_debug'
_debug("AFS UUID: %08x-%04x-%04x-%02x%02x-%02x%02x%02x%02x%02x%02x",
^~~~~~
>> include/linux/compiler.h:117:18: error: invalid use of undefined type 'struct uuid_v1'
static struct ftrace_branch_data \
^
include/linux/compiler.h:139:58: note: in expansion of macro '__branch_check__'
# define unlikely(x) (__builtin_constant_p(x) ? !!(x) : __branch_check__(x, 0))
^~~~~~~~~~~~~~~~
>> fs/afs/internal.h:769:6: note: in expansion of macro 'unlikely'
if (unlikely(afs_debug & AFS_DEBUG_KDEBUG)) \
^~~~~~~~
fs/afs/main.c:68:2: note: in expansion of macro '_debug'
_debug("AFS UUID: %08x-%04x-%04x-%02x%02x-%02x%02x%02x%02x%02x%02x",
^~~~~~
>> include/linux/compiler.h:117:18: error: invalid use of undefined type 'struct uuid_v1'
static struct ftrace_branch_data \
^
include/linux/compiler.h:139:58: note: in expansion of macro '__branch_check__'
# define unlikely(x) (__builtin_constant_p(x) ? !!(x) : __branch_check__(x, 0))
^~~~~~~~~~~~~~~~
>> fs/afs/internal.h:769:6: note: in expansion of macro 'unlikely'
if (unlikely(afs_debug & AFS_DEBUG_KDEBUG)) \
^~~~~~~~
fs/afs/main.c:68:2: note: in expansion of macro '_debug'
_debug("AFS UUID: %08x-%04x-%04x-%02x%02x-%02x%02x%02x%02x%02x%02x",
^~~~~~
vim +117 include/linux/compiler.h
1f0d69a9 Steven Rostedt 2008-11-12 111
1f0d69a9 Steven Rostedt 2008-11-12 112 #define likely_notrace(x) __builtin_expect(!!(x), 1)
1f0d69a9 Steven Rostedt 2008-11-12 113 #define unlikely_notrace(x) __builtin_expect(!!(x), 0)
1f0d69a9 Steven Rostedt 2008-11-12 114
45b79749 Steven Rostedt 2008-11-21 115 #define __branch_check__(x, expect) ({ \
1f0d69a9 Steven Rostedt 2008-11-12 116 int ______r; \
2ed84eeb Steven Rostedt 2008-11-12 @117 static struct ftrace_branch_data \
1f0d69a9 Steven Rostedt 2008-11-12 118 __attribute__((__aligned__(4))) \
45b79749 Steven Rostedt 2008-11-21 119 __attribute__((section("_ftrace_annotated_branch"))) \
1f0d69a9 Steven Rostedt 2008-11-12 120 ______f = { \
:::::: The code at line 117 was first introduced by commit
:::::: 2ed84eeb8808cf3c9f039213ca137ffd7d753f0e trace: rename unlikely profiler to branch profiler
:::::: TO: Steven Rostedt <srostedt@redhat.com>
:::::: CC: Ingo Molnar <mingo@elte.hu>
---
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: 23523 bytes --]
prev parent reply other threads:[~2017-01-13 10:50 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-12 11:56 David Howells
2017-01-12 11:56 ` [PATCH 2/2] afs: Use core kernel UUID generation David Howells
2017-01-12 13:14 ` [PATCH 1/2] afs: Move UUID struct to linux/uuid.h Arnd Bergmann
2017-01-12 14:12 ` David Howells
2017-01-12 15:40 ` Arnd Bergmann
2017-01-12 16:14 ` David Howells
2017-01-12 16:23 ` Arnd Bergmann
2017-01-12 16:40 ` David Howells
2017-01-13 9:22 ` kbuild test robot
2017-01-13 10:28 ` David Howells
2017-01-13 10:48 ` kbuild test robot [this message]
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=201701131814.IVWwh9ZY%fengguang.wu@intel.com \
--to=lkp@intel.com \
--cc=arnd@arndb.de \
--cc=dhowells@redhat.com \
--cc=kbuild-all@01.org \
--cc=linux-afs@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=ruchandani.tina@gmail.com \
/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®