[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAHk-=wjK7HF3dQT8q_6fr3eLGvKS+c46PdYNVAsHRyQRgcgiyw@mail.gmail.com>
Date: Fri, 6 Sep 2024 15:38:16 -0700
From: Linus Torvalds <torvalds@...ux-foundation.org>
To: Paolo Bonzini <pbonzini@...hat.com>
Cc: linux-kernel@...r.kernel.org, kvm@...r.kernel.org
Subject: Re: [GIT PULL] KVM fixes for Linux 6.11-rc7
On Fri, 6 Sept 2024 at 08:45, Paolo Bonzini <pbonzini@...hat.com> wrote:
>
> - Specialize return value of KVM_CHECK_EXTENSION(KVM_CAP_READONLY_MEM),
> based on VM type
Grr. This actually causes a build warning with clang, but I didn't
notice in my "between pulls" build check, because that is with gcc.
So now it's merged with this error:
arch/x86/kvm/x86.c:4819:2: error: unannotated fall-through between
switch labels [-Werror,-Wimplicit-fallthrough]
and I'm actually surprised that gcc didn't warn about this too.
We definitely enable -Wimplicit-fallthrough on gcc too, but apparently
it's not functional: falling through to a "break" statement seems to
not warn with gcc. Which is nonsensical, but whatever.
Linus
Powered by blists - more mailing lists