]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitffc7cddc0c1fb0c60952d0218cc88ecdda64de94
treefb873a735179792c8f99fc7bf0e62dfbc3b3ae1f
parentfae8e956133dae9f997d47bcdea531bff4cd6a74
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