aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorJosh Poimboeuf <[email protected]>2025-03-14 19:29:11 +0000
committerPeter Zijlstra <[email protected]>2025-03-17 10:51:44 +0000
commit36799069b48198e5ce92d99310060c4aecb4b3e3 (patch)
tree92a2c5f313286a6f26aeadbf56af0c812385aed6 /net/unix/af_unix.c
parentobjtool: Create backup on error and print args (diff)
downloadkernel-36799069b48198e5ce92d99310060c4aecb4b3e3.tar.gz
kernel-36799069b48198e5ce92d99310060c4aecb4b3e3.zip
objtool: Add CONFIG_OBJTOOL_WERROR
Objtool warnings can be indicative of crashes, broken live patching, or even boot failures. Ignoring them is not recommended. Add CONFIG_OBJTOOL_WERROR to upgrade objtool warnings to errors by enabling the objtool --Werror option. Also set --backtrace to print the branches leading up to the warning, which can help considerably when debugging certain warnings. To avoid breaking bots too badly for now, make it the default for real world builds only (!COMPILE_TEST). Co-developed-by: Brendan Jackman <[email protected]> Signed-off-by: Josh Poimboeuf <[email protected]> Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Link: https://lore.kernel.org/r/3e7c109313ff15da6c80788965cc7450115b0196.1741975349.git.jpoimboe@kernel.org
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions