Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

objtool: Reindent check_options[]

Bring the cmdline check_options[] array back into vertical alignment for
better readability.

Acked-by: Petr Mladek <pmladek@suse.com>
Tested-by: Joe Lawrence <joe.lawrence@redhat.com>
Signed-off-by: Josh Poimboeuf <jpoimboe@kernel.org>

+27 -27
+27 -27
tools/objtool/builtin-check.c
··· 73 73 74 74 static const struct option check_options[] = { 75 75 OPT_GROUP("Actions:"), 76 + OPT_BOOLEAN(0, "cfi", &opts.cfi, "annotate kernel control flow integrity (kCFI) function preambles"), 76 77 OPT_CALLBACK_OPTARG('h', "hacks", NULL, NULL, "jump_label,noinstr,skylake", "patch toolchain bugs/limitations", parse_hacks), 77 - OPT_BOOLEAN('i', "ibt", &opts.ibt, "validate and annotate IBT"), 78 - OPT_BOOLEAN('m', "mcount", &opts.mcount, "annotate mcount/fentry calls for ftrace"), 79 - OPT_BOOLEAN('n', "noinstr", &opts.noinstr, "validate noinstr rules"), 80 - OPT_BOOLEAN(0, "orc", &opts.orc, "generate ORC metadata"), 81 - OPT_BOOLEAN('r', "retpoline", &opts.retpoline, "validate and annotate retpoline usage"), 82 - OPT_BOOLEAN(0, "rethunk", &opts.rethunk, "validate and annotate rethunk usage"), 83 - OPT_BOOLEAN(0, "unret", &opts.unret, "validate entry unret placement"), 84 - OPT_INTEGER(0, "prefix", &opts.prefix, "generate prefix symbols"), 85 - OPT_BOOLEAN('l', "sls", &opts.sls, "validate straight-line-speculation mitigations"), 86 - OPT_BOOLEAN('s', "stackval", &opts.stackval, "validate frame pointer rules"), 87 - OPT_BOOLEAN('t', "static-call", &opts.static_call, "annotate static calls"), 88 - OPT_BOOLEAN('u', "uaccess", &opts.uaccess, "validate uaccess rules for SMAP"), 89 - OPT_BOOLEAN(0 , "cfi", &opts.cfi, "annotate kernel control flow integrity (kCFI) function preambles"), 90 - OPT_BOOLEAN(0 , "noabs", &opts.noabs, "reject absolute references in allocatable sections"), 91 - OPT_CALLBACK_OPTARG(0, "dump", NULL, NULL, "orc", "dump metadata", parse_dump), 78 + OPT_BOOLEAN('i', "ibt", &opts.ibt, "validate and annotate IBT"), 79 + OPT_BOOLEAN('m', "mcount", &opts.mcount, "annotate mcount/fentry calls for ftrace"), 80 + OPT_BOOLEAN(0, "noabs", &opts.noabs, "reject absolute references in allocatable sections"), 81 + OPT_BOOLEAN('n', "noinstr", &opts.noinstr, "validate noinstr rules"), 82 + OPT_BOOLEAN(0, "orc", &opts.orc, "generate ORC metadata"), 83 + OPT_BOOLEAN('r', "retpoline", &opts.retpoline, "validate and annotate retpoline usage"), 84 + OPT_BOOLEAN(0, "rethunk", &opts.rethunk, "validate and annotate rethunk usage"), 85 + OPT_BOOLEAN(0, "unret", &opts.unret, "validate entry unret placement"), 86 + OPT_INTEGER(0, "prefix", &opts.prefix, "generate prefix symbols"), 87 + OPT_BOOLEAN('l', "sls", &opts.sls, "validate straight-line-speculation mitigations"), 88 + OPT_BOOLEAN('s', "stackval", &opts.stackval, "validate frame pointer rules"), 89 + OPT_BOOLEAN('t', "static-call", &opts.static_call, "annotate static calls"), 90 + OPT_BOOLEAN('u', "uaccess", &opts.uaccess, "validate uaccess rules for SMAP"), 91 + OPT_CALLBACK_OPTARG(0, "dump", NULL, NULL, "orc", "dump metadata", parse_dump), 92 92 93 93 OPT_GROUP("Options:"), 94 - OPT_BOOLEAN(0, "backtrace", &opts.backtrace, "unwind on error"), 95 - OPT_BOOLEAN(0, "backup", &opts.backup, "create backup (.orig) file on warning/error"), 96 - OPT_BOOLEAN(0, "dry-run", &opts.dryrun, "don't write modifications"), 97 - OPT_BOOLEAN(0, "link", &opts.link, "object is a linked object"), 98 - OPT_BOOLEAN(0, "module", &opts.module, "object is part of a kernel module"), 99 - OPT_BOOLEAN(0, "mnop", &opts.mnop, "nop out mcount call sites"), 100 - OPT_BOOLEAN(0, "no-unreachable", &opts.no_unreachable, "skip 'unreachable instruction' warnings"), 101 - OPT_STRING('o', "output", &opts.output, "file", "output file name"), 102 - OPT_BOOLEAN(0, "sec-address", &opts.sec_address, "print section addresses in warnings"), 103 - OPT_BOOLEAN(0, "stats", &opts.stats, "print statistics"), 104 - OPT_BOOLEAN('v', "verbose", &opts.verbose, "verbose warnings"), 105 - OPT_BOOLEAN(0, "werror", &opts.werror, "return error on warnings"), 94 + OPT_BOOLEAN(0, "backtrace", &opts.backtrace, "unwind on error"), 95 + OPT_BOOLEAN(0, "backup", &opts.backup, "create backup (.orig) file on warning/error"), 96 + OPT_BOOLEAN(0, "dry-run", &opts.dryrun, "don't write modifications"), 97 + OPT_BOOLEAN(0, "link", &opts.link, "object is a linked object"), 98 + OPT_BOOLEAN(0, "module", &opts.module, "object is part of a kernel module"), 99 + OPT_BOOLEAN(0, "mnop", &opts.mnop, "nop out mcount call sites"), 100 + OPT_BOOLEAN(0, "no-unreachable", &opts.no_unreachable, "skip 'unreachable instruction' warnings"), 101 + OPT_STRING('o', "output", &opts.output, "file", "output file name"), 102 + OPT_BOOLEAN(0, "sec-address", &opts.sec_address, "print section addresses in warnings"), 103 + OPT_BOOLEAN(0, "stats", &opts.stats, "print statistics"), 104 + OPT_BOOLEAN('v', "verbose", &opts.verbose, "verbose warnings"), 105 + OPT_BOOLEAN(0, "werror", &opts.werror, "return error on warnings"), 106 106 107 107 OPT_END(), 108 108 };