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: Rename --Werror to --werror

The objtool --Werror option name is stylistically inconsistent: halfway
between GCC's single-dash capitalized -Werror and objtool's double-dash
--lowercase convention, making it unnecessarily hard to remember.

Make the 'W' lower case (--werror) for consistency with objtool's other
options.

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

+3 -3
+1 -1
scripts/Makefile.lib
··· 191 191 objtool-args-$(CONFIG_HAVE_UACCESS_VALIDATION) += --uaccess 192 192 objtool-args-$(or $(CONFIG_GCOV_KERNEL),$(CONFIG_KCOV)) += --no-unreachable 193 193 objtool-args-$(CONFIG_PREFIX_SYMBOLS) += --prefix=$(CONFIG_FUNCTION_PADDING_BYTES) 194 - objtool-args-$(CONFIG_OBJTOOL_WERROR) += --Werror 194 + objtool-args-$(CONFIG_OBJTOOL_WERROR) += --werror 195 195 196 196 objtool-args = $(objtool-args-y) \ 197 197 $(if $(delay-objtool), --link) \
+1 -1
scripts/Makefile.vmlinux_o
··· 41 41 ifeq ($(delay-objtool),y) 42 42 vmlinux-objtool-args-y += $(objtool-args-y) 43 43 else 44 - vmlinux-objtool-args-$(CONFIG_OBJTOOL_WERROR) += --Werror 44 + vmlinux-objtool-args-$(CONFIG_OBJTOOL_WERROR) += --werror 45 45 endif 46 46 47 47 vmlinux-objtool-args-$(CONFIG_NOINSTR_VALIDATION) += --noinstr \
+1 -1
tools/objtool/builtin-check.c
··· 101 101 OPT_BOOLEAN(0, "sec-address", &opts.sec_address, "print section addresses in warnings"), 102 102 OPT_BOOLEAN(0, "stats", &opts.stats, "print statistics"), 103 103 OPT_BOOLEAN('v', "verbose", &opts.verbose, "verbose warnings"), 104 - OPT_BOOLEAN(0, "Werror", &opts.werror, "return error on warnings"), 104 + OPT_BOOLEAN(0, "werror", &opts.werror, "return error on warnings"), 105 105 106 106 OPT_END(), 107 107 };