Patch "objtool: Add bch2_trans_unlocked_error() to bcachefs noreturns" has been added to the 6.12-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    objtool: Add bch2_trans_unlocked_error() to bcachefs noreturns

to the 6.12-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     objtool-add-bch2_trans_unlocked_error-to-bcachefs-no.patch
and it can be found in the queue-6.12 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.



commit 83071f871738a5c98bbeaee71556eba89692306e
Author: chenchangcheng <ccc194101@xxxxxxx>
Date:   Fri Dec 20 15:48:47 2024 +0800

    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@xxxxxxxxxx>
    Signed-off-by: Peter Zijlstra (Intel) <peterz@xxxxxxxxxxxxx>
    Signed-off-by: Ingo Molnar <mingo@xxxxxxxxxx>
    Link: https://lkml.kernel.org/r/20241220074847.3418134-1-ccc194101@xxxxxxx
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/tools/objtool/noreturns.h b/tools/objtool/noreturns.h
index e7da92489167..f98dc0e1c99c 100644
--- a/tools/objtool/noreturns.h
+++ b/tools/objtool/noreturns.h
@@ -20,6 +20,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)




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux