]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commit83383b73ad5fbf52ea4b77aed900a927875f2529
tree96eddb6a5a0a2c5a5f0fbc8134c77b4c7e3fe705
parentad92c615975a57c4b206c5c99f77a0bf22b373c4
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
dcda287a9b26309ae43a091d0ecde16f8f61b4c0 "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