Re: [PATCH v2] objtool: add bch2_trans_unlocked_error to bcachefs noreturns.

From: Peter Zijlstra
Date: Fri Dec 20 2024 - 04:30:19 EST


On Fri, Dec 20, 2024 at 03:48:47PM +0800, ccc194101@xxxxxxx wrote:
> From: chenchangcheng <ccc194101@xxxxxxx>
>
> 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@xxxxxxxxxx>

Thanks!