diff options
author | Sebastian Ott <[email protected]> | 2018-01-29 16:12:30 +0100 |
---|---|---|
committer | Christian Borntraeger <[email protected]> | 2018-03-14 19:21:16 +0000 |
commit | 4ed8773b5055363f1666345dd5ae5af12c7c6268 (patch) | |
tree | c980518d66394479e19ab8fe9b478e9e5738b3a0 /tools/perf/scripts/python/sctop.py | |
parent | a5e0acea9ed644d622281a4a8fde94a2e24ec7e8 (diff) |
KVM: s390: fix fallthrough annotation
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 <[email protected]>
Reviewed-by: Cornelia Huck <[email protected]>
Reviewed-by: David Hildenbrand <[email protected]>
Signed-off-by: Christian Borntraeger <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions