Implicit fallthrough warning was enabled globally which broke
the build. Make it explicit with a `fall through` comment.
Signed-off-by: Santosh Sivaraj <redacted>
---
arch/powerpc/kvm/book3s_32_mmu.c | 1 +
1 file changed, 1 insertion(+)
@@ -239,6 +239,7 @@ static int kvmppc_mmu_book3s_32_xlate_pte(struct kvm_vcpu *vcpu, gva_t eaddr,case2:case6:pte->may_write=true;+/* fall through */case3:case5:case7:
From: Stephen Rothwell <hidden> Date: 2019-07-29 08:19:04
Hi Santosh,
On Mon, 29 Jul 2019 11:25:36 +0530 Santosh Sivaraj [off-list ref] wrote:
quoted hunk
Implicit fallthrough warning was enabled globally which broke
the build. Make it explicit with a `fall through` comment.
Signed-off-by: Santosh Sivaraj <redacted>
---
arch/powerpc/kvm/book3s_32_mmu.c | 1 +
1 file changed, 1 insertion(+)
@@ -239,6 +239,7 @@ static int kvmppc_mmu_book3s_32_xlate_pte(struct kvm_vcpu *vcpu, gva_t eaddr,case2:case6:pte->may_write=true;+/* fall through */case3:case5:case7:
--
2.20.1
Thanks
Reviewed-by: Stephen Rothwell <redacted>
This only shows up as a warning in a powerpc allyesconfig build.
--
Cheers,
Stephen Rothwell
From: Gustavo A. R. Silva <hidden> Date: 2019-07-29 23:47:54
On 7/29/19 3:16 AM, Stephen Rothwell wrote:
Hi Santosh,
On Mon, 29 Jul 2019 11:25:36 +0530 Santosh Sivaraj [off-list ref] wrote:
quoted
Implicit fallthrough warning was enabled globally which broke
the build. Make it explicit with a `fall through` comment.
Signed-off-by: Santosh Sivaraj <redacted>
Reviewed-by: Gustavo A. R. Silva <redacted>
Thanks!
--
Gustavo
@@ -239,6 +239,7 @@ static int kvmppc_mmu_book3s_32_xlate_pte(struct kvm_vcpu *vcpu, gva_t eaddr,case2:case6:pte->may_write=true;+/* fall through */case3:case5:case7:
--
2.20.1
Thanks
Reviewed-by: Stephen Rothwell <redacted>
This only shows up as a warning in a powerpc allyesconfig build.
Implicit fallthrough warning was enabled globally which broke
the build. Make it explicit with a `fall through` comment.
Signed-off-by: Santosh Sivaraj <redacted>
Reviewed-by: Gustavo A. R. Silva <redacted>
Thanks!
--
Gustavo
@@ -239,6 +239,7 @@ static int kvmppc_mmu_book3s_32_xlate_pte(struct kvm_vcpu *vcpu, gva_t eaddr,case2:case6:pte->may_write=true;+/* fall through */case3:case5:case7:
--
2.20.1
Thanks
Reviewed-by: Stephen Rothwell <redacted>
This only shows up as a warning in a powerpc allyesconfig build.
I will apply this to linux-next today (and keep it until it turns up in
some other tree).
--
Cheers,
Stephen Rothwell
Implicit fallthrough warning was enabled globally which broke
the build. Make it explicit with a `fall through` comment.
Signed-off-by: Santosh Sivaraj <redacted>
Reviewed-by: Gustavo A. R. Silva <redacted>
Thanks!
--
Gustavo
@@ -239,6 +239,7 @@ static int kvmppc_mmu_book3s_32_xlate_pte(struct kvm_vcpu *vcpu, gva_t eaddr,case2:case6:pte->may_write=true;+/* fall through */case3:case5:case7:
--
2.20.1
Thanks
Reviewed-by: Stephen Rothwell <redacted>
This only shows up as a warning in a powerpc allyesconfig build.
I will apply this to linux-next today (and keep it until it turns up in
some other tree).
If no one takes it by tomorrow, I'll take it in my tree.
Thanks!
--
Gustavo
From: Stephen Rothwell <hidden> Date: 2019-07-30 03:52:36
Hi Gustavo,
On Mon, 29 Jul 2019 22:30:34 -0500 "Gustavo A. R. Silva" [off-list ref] wrote:
If no one takes it by tomorrow, I'll take it in my tree.
I am assuming that Michael Ellerman will take it into his fixes tree
and send it to Lunis fairly soon as it actually breaks some powerpc
builds.
--
Cheers,
Stephen Rothwell
From: Gustavo A. R. Silva <hidden> Date: 2019-07-30 04:19:40
On 7/29/19 10:50 PM, Stephen Rothwell wrote:
Hi Gustavo,
On Mon, 29 Jul 2019 22:30:34 -0500 "Gustavo A. R. Silva" [off-list ref] wrote:
quoted
If no one takes it by tomorrow, I'll take it in my tree.
I am assuming that Michael Ellerman will take it into his fixes tree
and send it to Lunis fairly soon as it actually breaks some powerpc
builds.
Yeah. It seems that now that -Wimplicit-fallthrough has been globally enabled,
that's the case for all of these patches.
Anyway, I can always take them in my tree if needed.
Thanks
--
Gustavo
From: Michael Ellerman <hidden> Date: 2019-07-30 22:52:38
On Mon, 2019-07-29 at 05:55:36 UTC, Santosh Sivaraj wrote:
Implicit fallthrough warning was enabled globally which broke
the build. Make it explicit with a `fall through` comment.
Signed-off-by: Santosh Sivaraj <redacted>
Reviewed-by: Stephen Rothwell <redacted>
Reviewed-by: Gustavo A. R. Silva <redacted>