33 lines
1018 B
Diff
33 lines
1018 B
Diff
From c84cddd466530de828b3fa5a5dcb4ea7c1ffc816 Mon Sep 17 00:00:00 2001
|
|
From: Zhang Tianxing <zhangtianxing3@huawei.com>
|
|
Date: Tue, 20 Apr 2021 23:03:03 +0800
|
|
Subject: [PATCH] fix a typo in kernel_lib.h
|
|
|
|
This patch fixes a typo in kernel_lib.h which causes build failure in
|
|
i686 context.
|
|
|
|
Conflict:NA
|
|
Reference:https://gitee.com/openeuler/digest-list-tools/commit/0c2657d2b1b10b9d7f8367a9b4364e62d863b287
|
|
|
|
Signed-off-by: Zhang Tianxing <zhangtianxing3@huawei.com>
|
|
---
|
|
include/kernel_lib.h | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/include/kernel_lib.h b/include/kernel_lib.h
|
|
index 1ee2814..5bdc74b 100644
|
|
--- a/include/kernel_lib.h
|
|
+++ b/include/kernel_lib.h
|
|
@@ -140,7 +140,7 @@ extern const char *const hash_algo_name[HASH_ALGO__LAST];
|
|
extern const int hash_digest_size[HASH_ALGO__LAST];
|
|
|
|
/* hash */
|
|
-#if __BITB_PER_LONG == 32
|
|
+#if __BITS_PER_LONG == 32
|
|
#define GOLDEN_RATIO_PRIME GOLDEN_RATIO_32
|
|
#define hash_long(val, bits) hash_32(val, bits)
|
|
#elif __BITS_PER_LONG == 64
|
|
--
|
|
2.23.0
|
|
|