This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.
laforge gerrit-no-reply at lists.osmocom.orglaforge has uploaded this change for review. ( https://gerrit.osmocom.org/c/libosmocore/+/21563 )
Change subject: log2.h: Use uintXX_t instead of kernel specific types
......................................................................
log2.h: Use uintXX_t instead of kernel specific types
Change-Id: Ieb872551bdbe514f2c77f9aeb2b9ee42f6573909
---
M include/osmocom/core/log2.h
1 file changed, 2 insertions(+), 2 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/63/21563/1
diff --git a/include/osmocom/core/log2.h b/include/osmocom/core/log2.h
index dfe9d37..adbec5b 100644
--- a/include/osmocom/core/log2.h
+++ b/include/osmocom/core/log2.h
@@ -58,9 +58,9 @@
* set bit if value is nonzero. The last (most significant) bit is
* at position 64.
*/
-static __always_inline int fls64(__u64 x)
+static __always_inline int fls64(uint64_t x)
{
- __u32 h = x >> 32;
+ uint32_t h = x >> 32;
if (h)
return fls(h) + 32;
return fls(x);
--
To view, visit https://gerrit.osmocom.org/c/libosmocore/+/21563
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: Ieb872551bdbe514f2c77f9aeb2b9ee42f6573909
Gerrit-Change-Number: 21563
Gerrit-PatchSet: 1
Gerrit-Owner: laforge <laforge at osmocom.org>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20201206/b8402cbd/attachment.htm>