public inbox for llvm@lists.linux.dev
 help / color / mirror / Atom feed
* [bcachefs:bcachefs-testing 23/42] arch/loongarch/kernel/switch.S:28:18: error: operand must be a symbol with modifier (e.g. %pc_lo12) or an integer in the range
@ 2026-04-07  3:57 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-04-07  3:57 UTC (permalink / raw)
  To: Kent Overstreet; +Cc: llvm, oe-kbuild-all

tree:   https://evilpiepirate.org/git/bcachefs.git bcachefs-testing
head:   a33008fc8f2cf78de0ed73dc9b1dc6a46d278287
commit: 4f3f9133e70fced7e1ed07a143160017a3c88e12 [23/42] bcachefs: fix use-after-free in ec_block_endio()
config: loongarch-randconfig-001-20260405 (https://download.01.org/0day-ci/archive/20260405/202604050903.azdEMqcN-lkp@intel.com/config)
compiler: clang version 23.0.0git (https://github.com/llvm/llvm-project c80443cd37b2e2788cba67ffa180a6331e5f0791)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260405/202604050903.azdEMqcN-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/202604050903.azdEMqcN-lkp@intel.com/

Note: the bcachefs/bcachefs-testing HEAD a33008fc8f2cf78de0ed73dc9b1dc6a46d278287 builds fine.
      It only hurts bisectability.

All errors (new ones prefixed by >>):

>> arch/loongarch/kernel/switch.S:28:18: error: operand must be a symbol with modifier (e.g. %pc_lo12) or an integer in the range [-2048, 2047]
    ld.d $r20, $r5, 5640
                    ^


vim +28 arch/loongarch/kernel/switch.S

803b0fc5c3f2ba Huacai Chen 2022-05-31  12  
803b0fc5c3f2ba Huacai Chen 2022-05-31  13  /*
803b0fc5c3f2ba Huacai Chen 2022-05-31  14   * task_struct *__switch_to(task_struct *prev, task_struct *next,
613d4164f5a503 Huacai Chen 2025-01-25  15   *			    struct thread_info *next_ti, void *sched_ra, void *sched_cfa)
803b0fc5c3f2ba Huacai Chen 2022-05-31  16   */
803b0fc5c3f2ba Huacai Chen 2022-05-31  17  	.align	5
803b0fc5c3f2ba Huacai Chen 2022-05-31  18  SYM_FUNC_START(__switch_to)
803b0fc5c3f2ba Huacai Chen 2022-05-31  19  	csrrd	t1, LOONGARCH_CSR_PRMD
803b0fc5c3f2ba Huacai Chen 2022-05-31  20  	stptr.d	t1, a0, THREAD_CSRPRMD
803b0fc5c3f2ba Huacai Chen 2022-05-31  21  
803b0fc5c3f2ba Huacai Chen 2022-05-31  22  	cpu_save_nonscratch a0
803b0fc5c3f2ba Huacai Chen 2022-05-31  23  	stptr.d	ra, a0, THREAD_REG01
93a4fa622eb061 Qing Zhang  2022-08-06  24  	stptr.d a3, a0, THREAD_SCHED_RA
93a4fa622eb061 Qing Zhang  2022-08-06  25  	stptr.d a4, a0, THREAD_SCHED_CFA
09f33601bf940f Huacai Chen 2022-12-10  26  #if defined(CONFIG_STACKPROTECTOR) && !defined(CONFIG_SMP)
09f33601bf940f Huacai Chen 2022-12-10  27  	la	t7, __stack_chk_guard
09f33601bf940f Huacai Chen 2022-12-10 @28  	LONG_L	t8, a1, TASK_STACK_CANARY

:::::: The code at line 28 was first introduced by commit
:::::: 09f33601bf940f955c10a6e75a1c1b7bcadee5e2 LoongArch: Add basic STACKPROTECTOR support

:::::: TO: Huacai Chen <chenhuacai@loongson.cn>
:::::: CC: Huacai Chen <chenhuacai@loongson.cn>

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2026-04-07  3:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-07  3:57 [bcachefs:bcachefs-testing 23/42] arch/loongarch/kernel/switch.S:28:18: error: operand must be a symbol with modifier (e.g. %pc_lo12) or an integer in the range kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox