From 02f4a9dd964102d1284fd428cfa1e30c8bb3781e Mon Sep 17 00:00:00 2001 From: Alex Richardson Date: Tue, 17 Mar 2020 11:59:45 +0000 Subject: [PATCH] Fix misleading indentation warning in OCTEON1 kernel This is required to switch MIPS to compile with LLVM by default (D23204). Reviewed By: brooks Differential Revision: https://reviews.freebsd.org/D24091 --- sys/contrib/octeon-sdk/cvmx-dpi-defs.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/sys/contrib/octeon-sdk/cvmx-dpi-defs.h b/sys/contrib/octeon-sdk/cvmx-dpi-defs.h index 00198a4d244..57e4b307240 100644 --- a/sys/contrib/octeon-sdk/cvmx-dpi-defs.h +++ b/sys/contrib/octeon-sdk/cvmx-dpi-defs.h @@ -408,11 +408,12 @@ static inline uint64_t CVMX_DPI_SLI_PRTX_ERR(unsigned long offset) case OCTEON_CN68XX & OCTEON_FAMILY_MASK: if (OCTEON_IS_MODEL(OCTEON_CN68XX_PASS1)) - if ((offset <= 1)) - return CVMX_ADD_IO_SEG(0x0001DF0000000928ull) + ((offset) & 1) * 8; + if ((offset <= 1)) + return CVMX_ADD_IO_SEG(0x0001DF0000000928ull) + ((offset) & 1) * 8; if (OCTEON_IS_MODEL(OCTEON_CN68XX_PASS2)) + if ((offset <= 1)) + return CVMX_ADD_IO_SEG(0x0001DF0000000920ull) + ((offset) & 1) * 8; if ((offset <= 1)) - return CVMX_ADD_IO_SEG(0x0001DF0000000920ull) + ((offset) & 1) * 8; if ((offset <= 1)) return CVMX_ADD_IO_SEG(0x0001DF0000000920ull) + ((offset) & 1) * 8; break; case OCTEON_CN63XX & OCTEON_FAMILY_MASK: