aboutsummaryrefslogtreecommitdiff
path: root/arch/mips/sgi-ip32/ip32-irq.c
diff options
context:
space:
mode:
authorArnd Bergmann <[email protected]>2017-01-17 16:18:45 +0100
committerRalf Baechle <[email protected]>2017-01-25 02:51:11 +0100
commite9663b13c81b6d2ee8bb529e565d2e3ceeb2c84d (patch)
treebf6f0de49be24c3528343642127a87d430dbfd2e /arch/mips/sgi-ip32/ip32-irq.c
parent72d1cfc924f8cb7cf51732262b627da1205b34e1 (diff)
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 <[email protected]> Cc: Hans-Christian Noren Egtvedt <[email protected]> Cc: Vineet Gupta <[email protected]> Cc: [email protected] Cc: [email protected] Patchwork: https://patchwork.linux-mips.org/patch/15048 Signed-off-by: Ralf Baechle <[email protected]>
Diffstat (limited to 'arch/mips/sgi-ip32/ip32-irq.c')
0 files changed, 0 insertions, 0 deletions