mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-07-16 17:57:38 -04:00
objtool: Add --Werror option
Any objtool warning has the potential of reflecting (or triggering) a major bug in the kernel or compiler which could result in crashing the kernel or breaking the livepatch consistency model. In preparation for failing the build on objtool errors/warnings, add a new --Werror option. [ jpoimboe: commit log, comments, error out on fatal errors too ] Co-developed-by: Brendan Jackman <jackmanb@google.com> Signed-off-by: Josh Poimboeuf <jpoimboe@kernel.org> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Link: https://lore.kernel.org/r/e423ea4ec297f510a108aa6c78b52b9fe30fa8c1.1741975349.git.jpoimboe@kernel.org
This commit is contained in:
committed by
Peter Zijlstra
parent
5a406031d0
commit
bb62243943
@@ -39,6 +39,7 @@ struct opts {
|
||||
bool sec_address;
|
||||
bool stats;
|
||||
bool verbose;
|
||||
bool werror;
|
||||
};
|
||||
|
||||
extern struct opts opts;
|
||||
|
||||
Reference in New Issue
Block a user