From: kernel test robot <lkp@intel.com>
To: Jiri Olsa <jolsa@kernel.org>
Cc: oe-kbuild-all@lists.linux.dev,
Linux Memory Management List <linux-mm@kvack.org>,
"Masami Hiramatsu (Google)" <mhiramat@kernel.org>,
Oleg Nesterov <oleg@redhat.com>
Subject: [linux-next:master 4347/10451] arch/loongarch/include/asm/uprobes.h:12:33: error: initializer element is not constant
Date: Thu, 4 Jul 2024 14:31:09 +0800 [thread overview]
Message-ID: <202407041440.PhFCml1P-lkp@intel.com> (raw)
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: 0b58e108042b0ed28a71cd7edf5175999955b233
commit: ff474a78cef5cb5f32be52fe25b78441327a2e7c [4347/10451] uprobe: Add uretprobe syscall to speed up return probe
config: loongarch-allmodconfig (https://download.01.org/0day-ci/archive/20240704/202407041440.PhFCml1P-lkp@intel.com/config)
compiler: loongarch64-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240704/202407041440.PhFCml1P-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202407041440.PhFCml1P-lkp@intel.com/
All errors (new ones prefixed by >>):
In file included from include/linux/uprobes.h:49,
from include/linux/mm_types.h:16,
from include/linux/mmzone.h:22,
from include/linux/gfp.h:7,
from include/linux/xarray.h:16,
from include/linux/list_lru.h:14,
from include/linux/fs.h:13,
from include/linux/highmem.h:5,
from kernel/events/uprobes.c:13:
kernel/events/uprobes.c: In function 'arch_uprobe_trampoline':
>> arch/loongarch/include/asm/uprobes.h:12:33: error: initializer element is not constant
12 | #define UPROBE_SWBP_INSN larch_insn_gen_break(BRK_UPROBE_BP)
| ^~~~~~~~~~~~~~~~~~~~
kernel/events/uprobes.c:1479:39: note: in expansion of macro 'UPROBE_SWBP_INSN'
1479 | static uprobe_opcode_t insn = UPROBE_SWBP_INSN;
| ^~~~~~~~~~~~~~~~
vim +12 arch/loongarch/include/asm/uprobes.h
19bc6cb6409289 Tiezhu Yang 2023-06-29 11
19bc6cb6409289 Tiezhu Yang 2023-06-29 @12 #define UPROBE_SWBP_INSN larch_insn_gen_break(BRK_UPROBE_BP)
19bc6cb6409289 Tiezhu Yang 2023-06-29 13 #define UPROBE_SWBP_INSN_SIZE LOONGARCH_INSN_SIZE
19bc6cb6409289 Tiezhu Yang 2023-06-29 14
:::::: The code at line 12 was first introduced by commit
:::::: 19bc6cb6409289106d38f9ad1b2ecf73980df6b5 LoongArch: Add uprobes support
:::::: TO: Tiezhu Yang <yangtiezhu@loongson.cn>
:::::: CC: Huacai Chen <chenhuacai@loongson.cn>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2024-07-04 6:32 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=202407041440.PhFCml1P-lkp@intel.com \
--to=lkp@intel.com \
--cc=jolsa@kernel.org \
--cc=linux-mm@kvack.org \
--cc=mhiramat@kernel.org \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=oleg@redhat.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