From: Daeho Jeong <[email protected]> We've got the below "unused function" warning for 32bit compilation. So, fixed it.
error: unused function 'hash_64' [-Werror,-Wunused-function] Signed-off-by: Daeho Jeong <[email protected]> --- include/erofs/hashtable.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/erofs/hashtable.h b/include/erofs/hashtable.h index 90eb84e..d425f0c 100644 --- a/include/erofs/hashtable.h +++ b/include/erofs/hashtable.h @@ -251,7 +251,7 @@ static inline u32 hash_32(u32 val, unsigned int bits) return __hash_32(val) >> (32 - bits); } -static __always_inline u32 hash_64(u64 val, unsigned int bits) +static inline u32 hash_64(u64 val, unsigned int bits) { #if BITS_PER_LONG == 64 /* 64x64-bit multiply is efficient on all 64-bit processors */ -- 2.34.0.384.gca35af8252-goog
