summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorchenchangcheng <ccc194101@163.com>2024-12-20 15:48:47 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-01-02 10:34:21 +0100
commit2cae02a84b980642a319f718504324db6cb254b7 (patch)
treef4f4d7841f9e20084b39c63bfaa44a77dfc32dbf /include/linux
parent1d397722cf3e78ad44b46daaec10e41f9270cba4 (diff)
downloadlinux-2cae02a84b980642a319f718504324db6cb254b7.tar.gz
linux-2cae02a84b980642a319f718504324db6cb254b7.tar.bz2
linux-2cae02a84b980642a319f718504324db6cb254b7.zip
objtool: Add bch2_trans_unlocked_error() to bcachefs noreturns
[ Upstream commit 31ad36a271290648e7c2288a03d7b933d20254d6 ] 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() bch2_trans_unlocked_error() is an Obviously Correct (tm) panic() wrapper, add it to the list of known noreturns. [ mingo: Improved the changelog ] Fixes: fd104e2967b7 ("bcachefs: bch2_trans_verify_not_unlocked()") Signed-off-by: chenchangcheng <chenchangcheng@kylinos.cn> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Signed-off-by: Ingo Molnar <mingo@kernel.org> Link: https://lkml.kernel.org/r/20241220074847.3418134-1-ccc194101@163.com Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions