t/zbd: avoid test case 31 failure with small devices
[fio.git] / crc / murmur3.c
index e316f592ceb7fad41f3a0f43d0aa4e0347190d53..08660bc8cb4a7e4b4308e8e6ce905eb6015448b3 100644 (file)
@@ -1,4 +1,5 @@
 #include "murmur3.h"
+#include "../compiler/compiler.h"
 
 static inline uint32_t rotl32(uint32_t x, int8_t r)
 {
@@ -29,8 +30,10 @@ static uint32_t murmur3_tail(const uint8_t *data, const int nblocks,
        switch (len & 3) {
        case 3:
                k1 ^= tail[2] << 16;
+               fio_fallthrough;
        case 2:
                k1 ^= tail[1] << 8;
+               fio_fallthrough;
        case 1:
                k1 ^= tail[0];
                k1 *= c1;