<instantiation>:18:15: error: invalid operand for instruction

From: kernel test robot
Date: Sun Feb 11 2024 - 06:27:07 EST


Hi Nicholas,

FYI, the error/warning still remains.

tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 7521f258ea303c827434c101884b62a2b137a942
commit: afc6386815a88d067d9f567dcc6266800286f626 powerpc: merge 32-bit and 64-bit _switch implementation
date: 8 months ago
config: powerpc64-randconfig-001-20240211 (https://download.01.org/0day-ci/archive/20240211/202402111924.EpGyikCn-lkp@xxxxxxxxx/config)
compiler: clang version 19.0.0git (https://github.com/llvm/llvm-project c08b90c50bcac9f3f563c79491c8dbcbe7c3b574)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240211/202402111924.EpGyikCn-lkp@xxxxxxxxx/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@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202402111924.EpGyikCn-lkp@xxxxxxxxx/

All errors (new ones prefixed by >>):

>> <instantiation>:18:15: error: invalid operand for instruction
addi %r7,%r7,(1 << (15 + 1))-432
^
arch/powerpc/kernel/switch.S:249:2: note: while in macro instantiation
do_switch_64
^

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