Re: [PATCH 1/2] KVM: s390: fix fallthrough annotation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon,  5 Mar 2018 11:16:28 +0000
Christian Borntraeger <borntraeger@xxxxxxxxxx> wrote:

> From: Sebastian Ott <sebott@xxxxxxxxxxxxxxxxxx>
> 
> A case statement in kvm_s390_shadow_tables uses fallthrough annotations
> which are not recognized by gcc because they are hidden within a block.
> Move these annotations out of the block to fix (W=1) warnings like below:
> 
> arch/s390/kvm/gaccess.c: In function 'kvm_s390_shadow_tables':
> arch/s390/kvm/gaccess.c:1029:26: warning: this statement may fall through [-Wimplicit-fallthrough=]
>   case ASCE_TYPE_REGION1: {
>                           ^
> 
> Signed-off-by: Sebastian Ott <sebott@xxxxxxxxxxxxxxxxxx>
> Signed-off-by: Christian Borntraeger <borntraeger@xxxxxxxxxx>
> ---
>  arch/s390/kvm/gaccess.c | 9 +++------
>  1 file changed, 3 insertions(+), 6 deletions(-)

Reviewed-by: Cornelia Huck <cohuck@xxxxxxxxxx>

These are all of them, I guess?
--
To unsubscribe from this list: send the line "unsubscribe linux-s390" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Kernel Development]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Info]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Linux Media]     [Device Mapper]

  Powered by Linux