fs/bcachefs/btree_trans_commit.o: warning: objtool: __bch2_trans_commit+0x88: stack state mismatch: reg1[22]=-1+0 reg2[22]=-2-16

From: kernel test robot
Date: Mon Sep 09 2024 - 05:51:13 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: da3ea35007d0af457a0afc87e84fddaebc4e0b63
commit: 1d16c605cc55ef26f0c65b362665a6c99080ccbc bcachefs: Disk space accounting rewrite
date: 8 weeks ago
config: loongarch-randconfig-001-20240907 (https://download.01.org/0day-ci/archive/20240909/202409091745.jFnZrkPl-lkp@xxxxxxxxx/config)
compiler: loongarch64-linux-gcc (GCC) 14.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240909/202409091745.jFnZrkPl-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/202409091745.jFnZrkPl-lkp@xxxxxxxxx/

All warnings (new ones prefixed by >>):

>> fs/bcachefs/btree_trans_commit.o: warning: objtool: __bch2_trans_commit+0x88: stack state mismatch: reg1[22]=-1+0 reg2[22]=-2-16


objdump-func vmlinux.o __bch2_trans_commit:

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