summaryrefslogtreecommitdiff
path: root/arch/mips/cavium-octeon/dma-octeon.c
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2017-01-17 18:18:44 +0300
committerRalf Baechle <ralf@linux-mips.org>2017-01-25 04:51:11 +0300
commit72d1cfc924f8cb7cf51732262b627da1205b34e1 (patch)
treed5f4f00218b18e3938781e90877537e832ce4d4f /arch/mips/cavium-octeon/dma-octeon.c
parent886f9c69fc68f56ddea34d3de51ac1fc2ac8dfbc (diff)
downloadlinux-72d1cfc924f8cb7cf51732262b627da1205b34e1.tar.xz
MIPS: Loongson64: Fix empty-body warning in dma_alloc
A new gcc warning shows up for this old code with gcc-6: arch/mips/loongson64/common/dma-swiotlb.c: In function 'loongson_dma_alloc_coherent': arch/mips/loongson64/common/dma-swiotlb.c:35:2: error: suggest braces around empty body in an 'else' statement [-Werror=empty-body] The code can be easily restructured to look more readable and avoid the warning at the same time. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Cc: Robin Murphy <robin.murphy@arm.com> Cc: linux-mips@linux-mips.org Cc: linux-kernel@vger.kernel.org Patchwork: https://patchwork.linux-mips.org/patch/15047/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/cavium-octeon/dma-octeon.c')
0 files changed, 0 insertions, 0 deletions