From 867e06ebf1cd5fc121e052fc5c281cfbfa3841a9 Mon Sep 17 00:00:00 2001 From: Adam Rutkowski Date: Thu, 12 Dec 2019 13:48:47 -0500 Subject: [PATCH] Remove switch/case fallthrough This construction breaks compilation on latest kernels. Signed-off-by: Adam Rutkowski --- src/engine/cache_engine.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/engine/cache_engine.c b/src/engine/cache_engine.c index 64799c3..0c0e1fe 100644 --- a/src/engine/cache_engine.c +++ b/src/engine/cache_engine.c @@ -187,6 +187,7 @@ bool ocf_seq_cutoff_check(ocf_core_t core, uint32_t dir, uint64_t addr, case ocf_seq_cutoff_policy_full: if (ocf_seq_cutoff_is_on(cache)) break; + return false; case ocf_seq_cutoff_policy_never: return false;