Patch "objtool: Propagate early errors" has been added to the 6.1-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: Propagate early errors

to the 6.1-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-propagate-early-errors.patch
and it can be found in the queue-6.1 subdirectory.

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



commit 0530c150de6acd429c0b1ab2ef9842eee7c213ea
Author: Aaron Plattner <aplattner@xxxxxxxxxx>
Date:   Wed Oct 4 17:08:18 2023 -0700

    objtool: Propagate early errors
    
    [ Upstream commit e959c279d391c10b35ce300fb4b0fe3b98e86bd2 ]
    
    If objtool runs into a problem that causes it to exit early, the overall
    tool still returns a status code of 0, which causes the build to
    continue as if nothing went wrong.
    
    Note this only affects early errors, as later errors are still ignored
    by check().
    
    Fixes: b51277eb9775 ("objtool: Ditch subcommands")
    Signed-off-by: Aaron Plattner <aplattner@xxxxxxxxxx>
    Link: https://lore.kernel.org/r/cb6a28832d24b2ebfafd26da9abb95f874c83045.1696355111.git.aplattner@xxxxxxxxxx
    Signed-off-by: Josh Poimboeuf <jpoimboe@xxxxxxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/tools/objtool/objtool.c b/tools/objtool/objtool.c
index a7ecc32e35125..cda649644e32d 100644
--- a/tools/objtool/objtool.c
+++ b/tools/objtool/objtool.c
@@ -146,7 +146,5 @@ int main(int argc, const char **argv)
 	exec_cmd_init("objtool", UNUSED, UNUSED, UNUSED);
 	pager_init(UNUSED);
 
-	objtool_run(argc, argv);
-
-	return 0;
+	return objtool_run(argc, argv);
 }



[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