linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] sh: Drop -Werror from kernel Makefile
@ 2019-08-05  2:14 Guenter Roeck
  2019-08-05  3:24 ` Rich Felker
  2019-08-13  8:49 ` Yoshinori Sato
  0 siblings, 2 replies; 13+ messages in thread
From: Guenter Roeck @ 2019-08-05  2:14 UTC (permalink / raw)
  To: Yoshinori Sato
  Cc: Rich Felker, linux-sh, linux-kernel, Guenter Roeck,
	Gustavo A . R . Silva

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


^ permalink raw reply related	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2019-08-15  3:14 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-05  2:14 [PATCH] sh: Drop -Werror from kernel Makefile Guenter Roeck
2019-08-05  3:24 ` Rich Felker
2019-08-09 19:56   ` Guenter Roeck
2019-08-09 21:36     ` Gustavo A. R. Silva
2019-08-09 21:56       ` Guenter Roeck
2019-08-10  2:47         ` Gustavo A. R. Silva
2019-08-10  4:20           ` Joe Perches
2019-08-10  4:31             ` Gustavo A. R. Silva
2019-08-10  4:43               ` Gustavo A. R. Silva
2019-08-13  8:49 ` Yoshinori Sato
2019-08-13 13:18   ` Guenter Roeck
2019-08-15  0:59     ` Gustavo A. R. Silva
2019-08-15  3:14       ` Guenter Roeck

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).