All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gabriel Krisman Bertazi <krisman@collabora.com>
To: kbuild-all@lists.01.org
Subject: Re: [tip:core/entry 1/1] include/linux/seccomp.h:45:15: error: use of undeclared identifier 'TIF_WORK_SECCOMP'
Date: Tue, 24 Nov 2020 19:19:13 -0500	[thread overview]
Message-ID: <87pn42nv9a.fsf@collabora.com> (raw)
In-Reply-To: <202011250806.w8maTx2J-lkp@intel.com>

[-- Attachment #1: Type: text/plain, Size: 2273 bytes --]

kernel test robot <lkp@intel.com> writes:

> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git core/entry
> head:   0395124a2fbff5132afee5767071ebe7e05885ac
> commit: 0395124a2fbff5132afee5767071ebe7e05885ac [1/1] entry: Fix boot for !CONFIG_GENERIC_ENTRY
> config: riscv-randconfig-r024-20201124 (attached as .config)
> compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project df9ae5992889560a8f3c6760b54d5051b47c7bf5)
> 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
>         # install riscv cross compiling tool for clang build
>         # apt-get install binutils-riscv64-linux-gnu
>         # https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git/commit/?id=0395124a2fbff5132afee5767071ebe7e05885ac
>         git remote add tip https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git
>         git fetch --no-tags tip core/entry
>         git checkout 0395124a2fbff5132afee5767071ebe7e05885ac
>         # save the attached .config to linux build tree
>         COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=riscv 
>
> If you fix the issue, kindly add following tag as appropriate
> Reported-by: kernel test robot <lkp@intel.com>
>
> All errors (new ones prefixed by >>):
>
>    In file included from arch/riscv/kernel/asm-offsets.c:10:
>    In file included from include/linux/sched.h:22:
>>> include/linux/seccomp.h:45:15: error: use of undeclared identifier 'TIF_WORK_SECCOMP'
>            if (unlikely(test_syscall_work(SECCOMP)))
>                         ^
>    include/linux/thread_info.h:136:45: note: expanded from macro 'test_syscall_work'
>            test_ti_thread_flag(current_thread_info(), TIF_WORK_##fl)
>                                                       ^
>    <scratch space>:71:1: note: expanded from here
>    TIF_WORK_SECCOMP

Was this a merge error when applying the commit?

The patch I submitted is different from what is in the TIP tree.

https://www.spinics.net/lists/arm-kernel/msg857461.html

https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git/commit/?h=core/entry

-- 
Gabriel Krisman Bertazi

WARNING: multiple messages have this Message-ID (diff)
From: Gabriel Krisman Bertazi <krisman@collabora.com>
To: kernel test robot <lkp@intel.com>
Cc: kbuild-all@lists.01.org, clang-built-linux@googlegroups.com,
	linux-kernel@vger.kernel.org, x86@kernel.org,
	Thomas Gleixner <tglx@linutronix.de>,
	Kees Cook <keescook@chromium.org>
Subject: Re: [tip:core/entry 1/1] include/linux/seccomp.h:45:15: error: use of undeclared identifier 'TIF_WORK_SECCOMP'
Date: Tue, 24 Nov 2020 19:19:13 -0500	[thread overview]
Message-ID: <87pn42nv9a.fsf@collabora.com> (raw)
In-Reply-To: <202011250806.w8maTx2J-lkp@intel.com> (kernel test robot's message of "Wed, 25 Nov 2020 08:09:27 +0800")

kernel test robot <lkp@intel.com> writes:

> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git core/entry
> head:   0395124a2fbff5132afee5767071ebe7e05885ac
> commit: 0395124a2fbff5132afee5767071ebe7e05885ac [1/1] entry: Fix boot for !CONFIG_GENERIC_ENTRY
> config: riscv-randconfig-r024-20201124 (attached as .config)
> compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project df9ae5992889560a8f3c6760b54d5051b47c7bf5)
> 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
>         # install riscv cross compiling tool for clang build
>         # apt-get install binutils-riscv64-linux-gnu
>         # https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git/commit/?id=0395124a2fbff5132afee5767071ebe7e05885ac
>         git remote add tip https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git
>         git fetch --no-tags tip core/entry
>         git checkout 0395124a2fbff5132afee5767071ebe7e05885ac
>         # save the attached .config to linux build tree
>         COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=riscv 
>
> If you fix the issue, kindly add following tag as appropriate
> Reported-by: kernel test robot <lkp@intel.com>
>
> All errors (new ones prefixed by >>):
>
>    In file included from arch/riscv/kernel/asm-offsets.c:10:
>    In file included from include/linux/sched.h:22:
>>> include/linux/seccomp.h:45:15: error: use of undeclared identifier 'TIF_WORK_SECCOMP'
>            if (unlikely(test_syscall_work(SECCOMP)))
>                         ^
>    include/linux/thread_info.h:136:45: note: expanded from macro 'test_syscall_work'
>            test_ti_thread_flag(current_thread_info(), TIF_WORK_##fl)
>                                                       ^
>    <scratch space>:71:1: note: expanded from here
>    TIF_WORK_SECCOMP

Was this a merge error when applying the commit?

The patch I submitted is different from what is in the TIP tree.

https://www.spinics.net/lists/arm-kernel/msg857461.html

https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git/commit/?h=core/entry

-- 
Gabriel Krisman Bertazi

  reply	other threads:[~2020-11-25  0:19 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-25  0:09 [tip:core/entry 1/1] include/linux/seccomp.h:45:15: error: use of undeclared identifier 'TIF_WORK_SECCOMP' kernel test robot
2020-11-25  0:09 ` kernel test robot
2020-11-25  0:19 ` Gabriel Krisman Bertazi [this message]
2020-11-25  0:19   ` Gabriel Krisman Bertazi

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=87pn42nv9a.fsf@collabora.com \
    --to=krisman@collabora.com \
    --cc=kbuild-all@lists.01.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.