From: Christoph Hellwig <hch@lst.de>
To: torvalds@linux-foundation.org
Cc: kvm@vger.kernel.org, pbonzini@redhat.com, linux-kernel@vger.kernel.org
Subject: [PATCH] Revert "KVM: x86: enable -Werror"
Date: Wed, 26 Feb 2020 07:39:29 -0800 [thread overview]
Message-ID: <20200226153929.786743-1-hch@lst.de> (raw)
This reverts commit ead68df94d248c80fdbae220ae5425eb5af2e753.
Using the brain dead Werror flag fixes 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=]
7209 | }
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 <hch@lst.de>
---
arch/x86/kvm/Makefile | 1 -
1 file changed, 1 deletion(-)
diff --git a/arch/x86/kvm/Makefile b/arch/x86/kvm/Makefile
index 4654e97a05cc..b19ef421084d 100644
--- a/arch/x86/kvm/Makefile
+++ b/arch/x86/kvm/Makefile
@@ -1,7 +1,6 @@
# SPDX-License-Identifier: GPL-2.0
ccflags-y += -Iarch/x86/kvm
-ccflags-y += -Werror
KVM := ../../../virt/kvm
--
2.24.1
next reply other threads:[~2020-02-26 15:39 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-02-26 15:39 Christoph Hellwig [this message]
2020-02-27 3:33 ` [PATCH] Revert "KVM: x86: enable -Werror" Michael Ellerman
2020-02-27 6:41 ` Paolo Bonzini
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=20200226153929.786743-1-hch@lst.de \
--to=hch@lst.de \
--cc=kvm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=pbonzini@redhat.com \
--cc=torvalds@linux-foundation.org \
/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: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).