]> git.ipfire.org Git - thirdparty/linux.git/commit
Revert "objtool: Support addition to set CFA base"
authorJosh Poimboeuf <jpoimboe@kernel.org>
Wed, 12 Apr 2023 17:29:01 +0000 (10:29 -0700)
committerPeter Zijlstra <peterz@infradead.org>
Fri, 14 Apr 2023 14:08:27 +0000 (16:08 +0200)
commite18398e80c73e3cc7d9c3d2e0bc06a4af8f4f1cb
tree1d01fae8d3ac7d1b02c260a65386b9e7036c7f81
parentf571da059f86fd9d432aea32c9c7e5aaa53245d8
Revert "objtool: Support addition to set CFA base"

Commit 468af56a7bba ("objtool: Support addition to set CFA base") was
added as a preparatory patch for arm64 support, but that support never
came.  It triggers a false positive warning on x86, so just revert it
for now.

Fixes the following warning:

  vmlinux.o: warning: objtool: cdce925_regmap_i2c_write+0xdb: stack state mismatch: cfa1=4+120 cfa2=5+40

Fixes: 468af56a7bba ("objtool: Support addition to set CFA base")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Josh Poimboeuf <jpoimboe@kernel.org>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lore.kernel.org/oe-kbuild-all/202304080538.j5G6h1AB-lkp@intel.com/
tools/objtool/check.c