]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/mm: Fix fallthrough bug in hpte_decode
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Wed, 3 Jul 2013 08:20:03 +0000 (13:50 +0530)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 24 Jul 2013 04:42:21 +0000 (14:42 +1000)
commit8cc101466d0700f8c66e7c1ebc268e9b423a6822
tree96eddb6a5a0a2c5a5f0fbc8134c77b4c7e3fe705
parent08c9835c17184efe30be86e2d7f7e60739fa4340
powerpc/mm: Fix fallthrough bug in hpte_decode

We should not fallthrough different case statements in hpte_decode. Add
break statement to break out of the switch. The regression is introduced by
2e01271d1b089e457afb27d7aab235aa6433e922 "powerpc/mm: Simplify hpte_decode"

Reported-by: Paul Mackerras <paulus@samba.org>
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/mm/hash_native_64.c