Skip to content

Commit cfe2ce4

Browse files
Christoph Hellwigtorvalds
authored andcommitted
Revert "KVM: x86: enable -Werror"
This reverts commit ead68df. Using the -Werror flag breaks the build for me due to mostly harmless KASAN or similar warnings: arch/x86/kvm/x86.c: In function ‘kvm_timer_init’: arch/x86/kvm/x86.c:7209:1: error: the frame size of 1112 bytes is larger than 1024 bytes [-Werror=frame-larger-than=] Feel free to add a CONFIG_WERROR if you care strong enough, but don't break peoples builds for absolutely no good reason. Signed-off-by: Christoph Hellwig <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
1 parent fda31c5 commit cfe2ce4

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

arch/x86/kvm/Makefile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
# SPDX-License-Identifier: GPL-2.0
22

33
ccflags-y += -Iarch/x86/kvm
4-
ccflags-y += -Werror
54

65
KVM := ../../../virt/kvm
76

0 commit comments

Comments
 (0)