From: kernel test robot <lkp@intel.com>
To: Ingo Molnar <mingo@kernel.org>
Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org,
linux-kernel@vger.kernel.org
Subject: [mingo-tip:sched/headers 1897/2340] net/smc/smc.h:284:44: error: use of undeclared identifier 'SK_USER_DATA_NOCOPY'
Date: Thu, 24 Feb 2022 03:36:10 +0800 [thread overview]
Message-ID: <202202240341.mxu0MQrq-lkp@intel.com> (raw)
tree: git://git.kernel.org/pub/scm/linux/kernel/git/mingo/tip.git sched/headers
head: 97c5eeb4de3ad324ed2a4656b46465299cfd010a
commit: 5c5994d6ff9b0f6c42142054bd317726ff1d9ef4 [1897/2340] headers/deps: net: Optimize <net/inet_timewait_sock.h> dependencies
config: i386-randconfig-a013 (https://download.01.org/0day-ci/archive/20220224/202202240341.mxu0MQrq-lkp@intel.com/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project d271fc04d5b97b12e6b797c6067d3c96a8d7470e)
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://git.kernel.org/pub/scm/linux/kernel/git/mingo/tip.git/commit/?id=5c5994d6ff9b0f6c42142054bd317726ff1d9ef4
git remote add mingo-tip git://git.kernel.org/pub/scm/linux/kernel/git/mingo/tip.git
git fetch --no-tags mingo-tip sched/headers
git checkout 5c5994d6ff9b0f6c42142054bd317726ff1d9ef4
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=i386 SHELL=/bin/bash net/dsa/ net/smc/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
Note: the mingo-tip/sched/headers HEAD 97c5eeb4de3ad324ed2a4656b46465299cfd010a builds fine.
It only hurts bisectability.
All errors (new ones prefixed by >>):
In file included from net/smc/smc_wr.c:40:
>> net/smc/smc.h:284:44: error: use of undeclared identifier 'SK_USER_DATA_NOCOPY'
((uintptr_t)clcsk->sk_user_data & ~SK_USER_DATA_NOCOPY);
^
1 error generated.
--
In file included from net/smc/smc_tracepoint.c:4:
In file included from net/smc/smc_tracepoint.h:13:
>> net/smc/smc.h:284:44: error: use of undeclared identifier 'SK_USER_DATA_NOCOPY'
((uintptr_t)clcsk->sk_user_data & ~SK_USER_DATA_NOCOPY);
^
In file included from net/smc/smc_tracepoint.c:4:
In file included from net/smc/smc_tracepoint.h:125:
include/trace/define_trace.h:95:10: fatal error: './smc_tracepoint.h' file not found
#include TRACE_INCLUDE(TRACE_INCLUDE_FILE)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/trace/define_trace.h:90:32: note: expanded from macro 'TRACE_INCLUDE'
# define TRACE_INCLUDE(system) __TRACE_INCLUDE(system)
^~~~~~~~~~~~~~~~~~~~~~~
include/trace/define_trace.h:87:34: note: expanded from macro '__TRACE_INCLUDE'
# define __TRACE_INCLUDE(system) __stringify(TRACE_INCLUDE_PATH/system.h)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/stringify.h:10:27: note: expanded from macro '__stringify'
#define __stringify(x...) __stringify_1(x)
^~~~~~~~~~~~~~~~
include/linux/stringify.h:9:29: note: expanded from macro '__stringify_1'
#define __stringify_1(x...) #x
^~
<scratch space>:113:1: note: expanded from here
"./smc_tracepoint.h"
^~~~~~~~~~~~~~~~~~~~
2 errors generated.
vim +/SK_USER_DATA_NOCOPY +284 net/smc/smc.h
ac7138746e1413 Ursula Braun 2017-01-09 280
341adeec9adad0 Wen Gu 2022-01-26 281 static inline struct smc_sock *smc_clcsock_user_data(struct sock *clcsk)
341adeec9adad0 Wen Gu 2022-01-26 282 {
341adeec9adad0 Wen Gu 2022-01-26 283 return (struct smc_sock *)
341adeec9adad0 Wen Gu 2022-01-26 @284 ((uintptr_t)clcsk->sk_user_data & ~SK_USER_DATA_NOCOPY);
341adeec9adad0 Wen Gu 2022-01-26 285 }
341adeec9adad0 Wen Gu 2022-01-26 286
:::::: The code at line 284 was first introduced by commit
:::::: 341adeec9adad0874f29a0a1af35638207352a39 net/smc: Forward wakeup to smc socket waitqueue after fallback
:::::: TO: Wen Gu <guwen@linux.alibaba.com>
:::::: CC: David S. Miller <davem@davemloft.net>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
reply other threads:[~2022-02-23 19:36 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=202202240341.mxu0MQrq-lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=llvm@lists.linux.dev \
--cc=mingo@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®