[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20190823100550.GB11357@blackberry>
Date: Fri, 23 Aug 2019 20:05:50 +1000
From: Paul Mackerras <paulus@...abs.org>
To: Paul Menzel <pmenzel@...gen.mpg.de>
Cc: kvm-ppc@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] powerpc/kvm: Mark expected switch fall-through
On Tue, Jul 30, 2019 at 04:46:37PM +0200, Paul Menzel wrote:
> Date: Tue, 30 Jul 2019 10:53:10 +0200
>
> Fix the error below triggered by `-Wimplicit-fallthrough`, by tagging
> it as an expected fall-through.
>
> arch/powerpc/kvm/book3s_32_mmu.c: In function ‘kvmppc_mmu_book3s_32_xlate_pte’:
> arch/powerpc/kvm/book3s_32_mmu.c:241:21: error: this statement may fall through [-Werror=implicit-fallthrough=]
> pte->may_write = true;
> ~~~~~~~~~~~~~~~^~~~~~
> arch/powerpc/kvm/book3s_32_mmu.c:242:5: note: here
> case 3:
> ^~~~
>
Thanks, applied to my kvm-ppc-next branch.
Paul.
Powered by blists - more mailing lists