summaryrefslogtreecommitdiff
path: root/arch/mips/netlogic
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2017-01-17 18:18:45 +0300
committerRalf Baechle <ralf@linux-mips.org>2017-01-25 04:51:11 +0300
commite9663b13c81b6d2ee8bb529e565d2e3ceeb2c84d (patch)
treebf6f0de49be24c3528343642127a87d430dbfd2e /arch/mips/netlogic
parent72d1cfc924f8cb7cf51732262b627da1205b34e1 (diff)
downloadlinux-e9663b13c81b6d2ee8bb529e565d2e3ceeb2c84d.tar.xz
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>
Diffstat (limited to 'arch/mips/netlogic')
0 files changed, 0 insertions, 0 deletions