[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <0361d2e8-e57c-5cac-f0ff-5e56675ba71d@kernel.org>
Date: Fri, 2 Aug 2019 15:32:26 +0100
From: Marc Zyngier <maz@...nel.org>
To: Qian Cai <cai@....pw>
Cc: james.morse@....com, julien.thierry.kdev@...il.com,
suzuki.poulose@....com, christoffer.dall@...aro.org,
drjones@...hat.com, linux-arm-kernel@...ts.infradead.org,
kvmarm@...ts.cs.columbia.edu, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] arm64/kvm: fix -Wimplicit-fallthrough warnings
On 02/08/2019 15:23, Qian Cai wrote:
> The commit a892819560c4 ("KVM: arm64: Prepare to handle deferred
> save/restore of 32-bit registers") introduced vcpu_write_spsr32() but
> seems forgot to add "break" between the switch statements and generates
> compilation warnings below. Also, adding a default statement as in
> vcpu_read_spsr32().
See
https://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm.git/commit/?id=3d584a3c85d6fe2cf878f220d4ad7145e7f89218
The default statement is pretty pointless by construction.
Thanks,
M.
--
Jazz is not dead, it just smells funny...
Powered by blists - more mailing lists