]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "KVM: x86: enable -Werror"
authorChristoph Hellwig <hch@lst.de>
Wed, 26 Feb 2020 15:39:29 +0000 (07:39 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 26 Feb 2020 17:59:58 +0000 (09:59 -0800)
commitff390281c15c0a782a65e8017ffe6a35068c8728
treec6f2fa8f024fbe30c486addcfb600c634ad53309
parent8e4746f0b565a0604c5bb9eb2b06603f510adf44
Revert "KVM: x86: enable -Werror"

This reverts commit 4c81a7e3e6bf5b674c46e1f960f474c2e9d935c6.

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 <hch@lst.de>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/x86/kvm/Makefile