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/.
Neels Hofmeyr gerrit-no-reply at lists.osmocom.orgReview at https://gerrit.osmocom.org/1773 main, tests: use msgb_talloc_ctx_init() (new) msgb_set_talloc_ctx() is deprecated since libosmocore commit f45334be29016a36594aacc07c90e262e4994525 / change-id I747fbbf977c4d2c868c8dead64cfc5fd86eb8d4c Change-Id: I8d40abec428b739460ed545c9983d1b63021bd08 --- M src/pcu_main.cpp M tests/alloc/AllocTest.cpp M tests/edge/EdgeTest.cpp M tests/emu/pcu_emu.cpp M tests/ms/MsTest.cpp M tests/tbf/TbfTest.cpp 6 files changed, 6 insertions(+), 6 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-pcu refs/changes/73/1773/1 diff --git a/src/pcu_main.cpp b/src/pcu_main.cpp index 0a0362b..338096b 100644 --- a/src/pcu_main.cpp +++ b/src/pcu_main.cpp @@ -217,7 +217,7 @@ */ bts->dl_arq_type = EGPRS_ARQ1; - msgb_set_talloc_ctx(tall_pcu_ctx); + msgb_talloc_ctx_init(tall_pcu_ctx, 0); osmo_init_logging(&gprs_log_info); osmo_stats_init(tall_pcu_ctx); diff --git a/tests/alloc/AllocTest.cpp b/tests/alloc/AllocTest.cpp index 308c802..e26c432 100644 --- a/tests/alloc/AllocTest.cpp +++ b/tests/alloc/AllocTest.cpp @@ -848,7 +848,7 @@ if (!tall_pcu_ctx) abort(); - msgb_set_talloc_ctx(tall_pcu_ctx); + msgb_talloc_ctx_init(tall_pcu_ctx, 0); osmo_init_logging(&gprs_log_info); log_set_use_color(osmo_stderr_target, 0); log_set_print_filename(osmo_stderr_target, 0); diff --git a/tests/edge/EdgeTest.cpp b/tests/edge/EdgeTest.cpp index 16a39e9..73aed37 100644 --- a/tests/edge/EdgeTest.cpp +++ b/tests/edge/EdgeTest.cpp @@ -1424,7 +1424,7 @@ if (!tall_pcu_ctx) abort(); - msgb_set_talloc_ctx(tall_pcu_ctx); + msgb_talloc_ctx_init(tall_pcu_ctx, 0); osmo_init_logging(&debug_log_info); log_set_use_color(osmo_stderr_target, 0); log_set_print_filename(osmo_stderr_target, 0); diff --git a/tests/emu/pcu_emu.cpp b/tests/emu/pcu_emu.cpp index 3725c8d..957ddf6 100644 --- a/tests/emu/pcu_emu.cpp +++ b/tests/emu/pcu_emu.cpp @@ -110,7 +110,7 @@ if (!tall_pcu_ctx) abort(); - msgb_set_talloc_ctx(tall_pcu_ctx); + msgb_talloc_ctx_init(tall_pcu_ctx, 0); osmo_init_logging(&gprs_log_info); vty_init(&pcu_vty_info); pcu_vty_init(&gprs_log_info); diff --git a/tests/ms/MsTest.cpp b/tests/ms/MsTest.cpp index 0930354..d66f578 100644 --- a/tests/ms/MsTest.cpp +++ b/tests/ms/MsTest.cpp @@ -538,7 +538,7 @@ if (!tall_pcu_ctx) abort(); - msgb_set_talloc_ctx(tall_pcu_ctx); + msgb_talloc_ctx_init(tall_pcu_ctx, 0); osmo_init_logging(&debug_log_info); log_set_use_color(osmo_stderr_target, 0); log_set_print_filename(osmo_stderr_target, 0); diff --git a/tests/tbf/TbfTest.cpp b/tests/tbf/TbfTest.cpp index 7d786b4..00aa4a8 100644 --- a/tests/tbf/TbfTest.cpp +++ b/tests/tbf/TbfTest.cpp @@ -3361,7 +3361,7 @@ if (!tall_pcu_ctx) abort(); - msgb_set_talloc_ctx(tall_pcu_ctx); + msgb_talloc_ctx_init(tall_pcu_ctx, 0); osmo_init_logging(&debug_log_info); log_set_use_color(osmo_stderr_target, 0); log_set_print_filename(osmo_stderr_target, 0); -- To view, visit https://gerrit.osmocom.org/1773 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I8d40abec428b739460ed545c9983d1b63021bd08 Gerrit-PatchSet: 1 Gerrit-Project: osmo-pcu Gerrit-Branch: master Gerrit-Owner: Neels Hofmeyr <nhofmeyr at sysmocom.de>