Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 93cbcf5d authored by Gustavo A. R. Silva's avatar Gustavo A. R. Silva
Browse files

MIPS: Octeon: Mark expected switch fall-through



Mark switch cases where we are expecting to fall through.

Fix the following warning (Building: cavium_octeon_defconfig mips):

arch/mips/include/asm/octeon/cvmx-sli-defs.h:47:6: warning: this statement
may fall through [-Wimplicit-fallthrough=]

Signed-off-by: default avatarGustavo A. R. Silva <gustavo@embeddedor.com>
parent 5274fdba
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -46,6 +46,7 @@ static inline uint64_t CVMX_SLI_PCIE_MSI_RCV_FUNC(void)
	case OCTEON_CN78XX & OCTEON_FAMILY_MASK:
		if (OCTEON_IS_MODEL(OCTEON_CN78XX_PASS1_X))
			return 0x0000000000003CB0ull;
		/* Else, fall through */
	default:
		return 0x0000000000023CB0ull;
	}