osmo-pcu[master]: TS alloc: use standard function

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/.

Harald Welte gerrit-no-reply at lists.osmocom.org
Mon Sep 11 06:49:06 UTC 2017


Patch Set 1:

(1 comment)

https://gerrit.osmocom.org/#/c/3896/1/src/pcu_utils.h
File src/pcu_utils.h:

Line 46
> I just discovered about the existence of this ffs() function in glibc, firs
Given that we're really only calling it with an uint8_t slots,  it should be rather easy to write a small test program that iterates over all 256 possible values and calls both functions to ensure they render the same result.


-- 
To view, visit https://gerrit.osmocom.org/3896
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: I2d14ef327b09173d56ee3bca7e3ca85897d381c7
Gerrit-PatchSet: 1
Gerrit-Project: osmo-pcu
Gerrit-Branch: master
Gerrit-Owner: Max <msuraev at sysmocom.de>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: Pau Espin Pedrol <pespin at sysmocom.de>
Gerrit-HasComments: Yes



More information about the gerrit-log mailing list