Skip to contentSkip to conversation

objtool: add bch2_trans_unlocked_error to bcachefs noreturns.

PATCH New chenchangcheng 1 participant 1 message Dec 18, 2024

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 objtool: add bch2_trans_unlocked_error to bcachefs noreturns.

fs/bcachefs/btree_trans_commit.o: warning: objtool: bch2_trans_commit_write_locked.isra.0() falls through to next function do_bch2_trans_commit.isra.0() fs/bcachefs/btree_trans_commit.o: warning: objtool: .text: unexpected end of section
......
fs/bcachefs/btree_update.o: warning: objtool: bch2_trans_update_get_key_cache() falls through to next function flush_new_cached_update() fs/bcachefs/btree_update.o: warning: objtool: flush_new_cached_update() falls through to next function bch2_trans_update_by_path()

---
 tools/objtool/noreturns.h | 1 +
 1 file changed, 1 insertion(+)
tools/objtool/noreturns.h +1 -0
index f37614cc2c1b..88a0fa8807be 100644
@@ -49,3 +49,4 @@ NORETURN(x86_64_start_kernel)
 NORETURN(x86_64_start_reservations)
 NORETURN(xen_cpu_bringup_again)
 NORETURN(xen_start_kernel)
+NORETURN(bch2_trans_unlocked_error)
Signature · 1 line
2.25.1