linux_dsm_epyc7002/arch/mips/cavium-octeon
Arnd Bergmann e9663b13c8 MIPS: Octeon: Avoid empty-body warning
gcc-6 reports a harmless build warning:

arch/mips/cavium-octeon/dma-octeon.c: In function 'octeon_dma_alloc_coherent':
arch/mips/cavium-octeon/dma-octeon.c:179:3: error: suggest braces around empty body in an 'else' statement [-Werror=empty-body]

We can fix this by rearranging the code slightly using the
IS_ENABLED() macro.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Cc: Hans-Christian Noren Egtvedt <egtvedt@samfundet.no>
Cc: Vineet Gupta <vgupta@synopsys.com>
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/15048
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2017-01-25 02:51:11 +01:00
..
crypto
executive MIPS: Octeon: Kill cvmx_helper_link_autoconf() 2017-01-03 16:34:32 +01:00
cpu.c
csrc-octeon.c clocksource: Use a plain u64 instead of cycle_t 2016-12-25 11:04:12 +01:00
dma-octeon.c MIPS: Octeon: Avoid empty-body warning 2017-01-25 02:51:11 +01:00
flash_setup.c
Kconfig
Makefile
oct_ilm.c
octeon_boot.h
octeon-irq.c MIPS: Octeon: mark GPIO controller node not populated after IRQ init. 2016-09-29 18:59:49 +02:00
octeon-memcpy.S MIPS: Export memcpy & memset functions alongside their definitions 2017-01-03 16:34:50 +01:00
octeon-platform.c
Platform
setup.c MIPS: Octeon: Add plat_get_fdt() function for Cavium platforms. 2017-01-03 16:34:35 +01:00
smp.c MIPS: SMP: Remove cpu_callin_map 2017-01-03 16:34:38 +01:00