From: Guenter Roeck <linux@roeck-us.net> To: Yoshinori Sato <ysato@users.sourceforge.jp> Cc: Rich Felker <dalias@libc.org>, linux-sh@vger.kernel.org, linux-kernel@vger.kernel.org, Guenter Roeck <linux@roeck-us.net>, "Gustavo A . R . Silva" <gustavo@embeddedor.com> Subject: [PATCH] sh: Drop -Werror from kernel Makefile Date: Mon, 05 Aug 2019 02:14:23 +0000 [thread overview] Message-ID: <1564971263-21562-1-git-send-email-linux@roeck-us.net> (raw) Since commit a035d552a93b ("Makefile: Globally enable fall-through warning"), all sh builds fail with errors such as arch/sh/kernel/disassemble.c: In function 'print_sh_insn': arch/sh/kernel/disassemble.c:478:8: error: this statement may fall through Since this effectively disables all build and boot tests for the architecture, let's drop -Werror from the sh kernel Makefile until the problems are fixed. Cc: Gustavo A. R. Silva <gustavo@embeddedor.com> Signed-off-by: Guenter Roeck <linux@roeck-us.net> --- arch/sh/kernel/Makefile | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/sh/kernel/Makefile b/arch/sh/kernel/Makefile index 59673f8a3379..ef65f0625c6c 100644 --- a/arch/sh/kernel/Makefile +++ b/arch/sh/kernel/Makefile @@ -47,5 +47,3 @@ obj-$(CONFIG_DWARF_UNWINDER) += dwarf.o obj-$(CONFIG_PERF_EVENTS) += perf_event.o perf_callchain.o obj-$(CONFIG_DMA_NONCOHERENT) += dma-coherent.o obj-$(CONFIG_HAVE_HW_BREAKPOINT) += hw_breakpoint.o - -ccflags-y := -Werror -- 2.7.4
WARNING: multiple messages have this Message-ID (diff)
From: Guenter Roeck <linux@roeck-us.net> To: Yoshinori Sato <ysato@users.sourceforge.jp> Cc: Rich Felker <dalias@libc.org>, linux-sh@vger.kernel.org, linux-kernel@vger.kernel.org, Guenter Roeck <linux@roeck-us.net>, "Gustavo A . R . Silva" <gustavo@embeddedor.com> Subject: [PATCH] sh: Drop -Werror from kernel Makefile Date: Sun, 4 Aug 2019 19:14:23 -0700 [thread overview] Message-ID: <1564971263-21562-1-git-send-email-linux@roeck-us.net> (raw) Since commit a035d552a93b ("Makefile: Globally enable fall-through warning"), all sh builds fail with errors such as arch/sh/kernel/disassemble.c: In function 'print_sh_insn': arch/sh/kernel/disassemble.c:478:8: error: this statement may fall through Since this effectively disables all build and boot tests for the architecture, let's drop -Werror from the sh kernel Makefile until the problems are fixed. Cc: Gustavo A. R. Silva <gustavo@embeddedor.com> Signed-off-by: Guenter Roeck <linux@roeck-us.net> --- arch/sh/kernel/Makefile | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/sh/kernel/Makefile b/arch/sh/kernel/Makefile index 59673f8a3379..ef65f0625c6c 100644 --- a/arch/sh/kernel/Makefile +++ b/arch/sh/kernel/Makefile @@ -47,5 +47,3 @@ obj-$(CONFIG_DWARF_UNWINDER) += dwarf.o obj-$(CONFIG_PERF_EVENTS) += perf_event.o perf_callchain.o obj-$(CONFIG_DMA_NONCOHERENT) += dma-coherent.o obj-$(CONFIG_HAVE_HW_BREAKPOINT) += hw_breakpoint.o - -ccflags-y := -Werror -- 2.7.4
next reply other threads:[~2019-08-05 2:14 UTC|newest] Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top 2019-08-05 2:14 Guenter Roeck [this message] 2019-08-05 2:14 ` [PATCH] sh: Drop -Werror from kernel Makefile Guenter Roeck 2019-08-05 3:24 ` Rich Felker 2019-08-05 3:24 ` Rich Felker 2019-08-09 19:56 ` Guenter Roeck 2019-08-09 19:56 ` Guenter Roeck 2019-08-09 21:36 ` Gustavo A. R. Silva 2019-08-09 21:36 ` Gustavo A. R. Silva 2019-08-09 21:56 ` Guenter Roeck 2019-08-09 21:56 ` Guenter Roeck 2019-08-10 2:47 ` Gustavo A. R. Silva 2019-08-10 2:47 ` Gustavo A. R. Silva 2019-08-10 4:20 ` Joe Perches 2019-08-10 4:20 ` Joe Perches 2019-08-10 4:31 ` Gustavo A. R. Silva 2019-08-10 4:31 ` Gustavo A. R. Silva 2019-08-10 4:43 ` Gustavo A. R. Silva 2019-08-10 4:43 ` Gustavo A. R. Silva 2019-08-13 8:49 ` Yoshinori Sato 2019-08-13 8:49 ` Yoshinori Sato 2019-08-13 13:18 ` Guenter Roeck 2019-08-13 13:18 ` Guenter Roeck 2019-08-15 0:59 ` Gustavo A. R. Silva 2019-08-15 0:59 ` Gustavo A. R. Silva 2019-08-15 3:14 ` Guenter Roeck 2019-08-15 3:14 ` Guenter Roeck
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=1564971263-21562-1-git-send-email-linux@roeck-us.net \ --to=linux@roeck-us.net \ --cc=dalias@libc.org \ --cc=gustavo@embeddedor.com \ --cc=linux-kernel@vger.kernel.org \ --cc=linux-sh@vger.kernel.org \ --cc=ysato@users.sourceforge.jp \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.