diff options
| author | chenchangcheng <[email protected]> | 2024-12-20 07:48:47 +0000 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2024-12-29 08:52:21 +0000 |
| commit | 31ad36a271290648e7c2288a03d7b933d20254d6 (patch) | |
| tree | d5c21277308f70f93a656e5d988c3e97d2bfe41d /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
| parent | Linux 6.13-rc3 (diff) | |
| download | kernel-31ad36a271290648e7c2288a03d7b933d20254d6.tar.gz kernel-31ad36a271290648e7c2288a03d7b933d20254d6.zip | |
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()
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 <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions
