[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <173506650927.399.16674014518259045678.tip-bot2@tip-bot2>
Date: Tue, 24 Dec 2024 18:55:09 -0000
From: "tip-bot2 for chenchangcheng" <tip-bot2@...utronix.de>
To: linux-tip-commits@...r.kernel.org
Cc: chenchangcheng <chenchangcheng@...inos.cn>,
"Peter Zijlstra (Intel)" <peterz@...radead.org>, x86@...nel.org,
linux-kernel@...r.kernel.org
Subject: [tip: objtool/urgent] objtool: add bch2_trans_unlocked_error to
bcachefs noreturns.
The following commit has been merged into the objtool/urgent branch of tip:
Commit-ID: 0b56a9cc3fcb4eb12c9f3592a052b8aff2d4a3ee
Gitweb: https://git.kernel.org/tip/0b56a9cc3fcb4eb12c9f3592a052b8aff2d4a3ee
Author: chenchangcheng <ccc194101@....com>
AuthorDate: Fri, 20 Dec 2024 15:48:47 +08:00
Committer: Peter Zijlstra <peterz@...radead.org>
CommitterDate: Fri, 20 Dec 2024 15:31:26 +01:00
objtool: add bch2_trans_unlocked_error to bcachefs noreturns.
fix the following objtool warning during build time:
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()
Fixes: fd104e2967b7 ("bcachefs: bch2_trans_verify_not_unlocked()")
Signed-off-by: chenchangcheng <chenchangcheng@...inos.cn>
Signed-off-by: Peter Zijlstra (Intel) <peterz@...radead.org>
Link: https://lkml.kernel.org/r/20241220074847.3418134-1-ccc194101@163.com
---
tools/objtool/noreturns.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/tools/objtool/noreturns.h b/tools/objtool/noreturns.h
index f37614c..b217489 100644
--- a/tools/objtool/noreturns.h
+++ b/tools/objtool/noreturns.h
@@ -19,6 +19,7 @@ NORETURN(__x64_sys_exit_group)
NORETURN(arch_cpu_idle_dead)
NORETURN(bch2_trans_in_restart_error)
NORETURN(bch2_trans_restart_error)
+NORETURN(bch2_trans_unlocked_error)
NORETURN(cpu_bringup_and_idle)
NORETURN(cpu_startup_entry)
NORETURN(do_exit)
Powered by blists - more mailing lists