MIPS: Octeon: Fix fall through on bar type OCTEON_DMA_BAR_TYPE_SMALL
authorColin Ian King <colin.king@canonical.com>
Mon, 10 Feb 2014 18:42:57 +0000 (18:42 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 14 Mar 2014 23:46:23 +0000 (00:46 +0100)
commit7f02c463057fc527f52066742b84d9d89b22e83d
treefb873a735179792c8f99fc7bf0e62dfbc3b3ae1f
parentb616365e6dafb5d7c1cf2a8b6e8cb376a3f4a387
MIPS: Octeon: Fix fall through on bar type OCTEON_DMA_BAR_TYPE_SMALL

Bar type OCTEON_DMA_BAR_TYPE_SMALL assigns lo and hi addresses and
then falls through to OCTEON_DMA_BAR_TYPE_BIG that re-assignes lo and
hi addresses with totally different values. Add a break so we don't
fall through.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Acked-by: David Daney <ddaney@caviumnetworks.com>
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/6529/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/pci/msi-octeon.c