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 submitted this change. ( https://gerrit.osmocom.org/c/osmo-cbc/+/21994 ) Change subject: Adjust use of inter-thread-queue with libosmocore API change ...................................................................... Adjust use of inter-thread-queue with libosmocore API change during the libosmocore it_q patch review there was some small API change. Change-Id: I6a42000057f2efb4554b508debe4312e8f19a745 --- M src/internal.h M src/rest_it_op.c 2 files changed, 4 insertions(+), 3 deletions(-) Approvals: Jenkins Builder: Verified laforge: Looks good to me, approved diff --git a/src/internal.h b/src/internal.h index 49344a1..e493c86 100644 --- a/src/internal.h +++ b/src/internal.h @@ -39,7 +39,7 @@ int peer_new_cbc_message(struct cbc_peer *peer, struct cbc_message *cbcmsg); /* rest_it_op.c */ -void rest2main_read_cb(struct osmo_it_q *q, void *item); +void rest2main_read_cb(struct osmo_it_q *q, struct llist_head *item); /* smscb_*fsm.c */ diff --git a/src/rest_it_op.c b/src/rest_it_op.c index b01f8ba..a91c758 100644 --- a/src/rest_it_op.c +++ b/src/rest_it_op.c @@ -23,6 +23,7 @@ #include <errno.h> #include <pthread.h> +#include <osmocom/core/linuxlist.h> #include <osmocom/core/it_q.h> #include "rest_it_op.h" @@ -82,9 +83,9 @@ ***********************************************************************/ -void rest2main_read_cb(struct osmo_it_q *q, void *item) +void rest2main_read_cb(struct osmo_it_q *q, struct llist_head *item) { - struct rest_it_op *op = item; + struct rest_it_op *op = container_of(item, struct rest_it_op, list); struct cbc_message *cbc_msg; LOGP(DREST, LOGL_DEBUG, "%s(op=%p) from %lu\n", __func__, op, pthread_self()); -- To view, visit https://gerrit.osmocom.org/c/osmo-cbc/+/21994 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-cbc Gerrit-Branch: master Gerrit-Change-Id: I6a42000057f2efb4554b508debe4312e8f19a745 Gerrit-Change-Number: 21994 Gerrit-PatchSet: 2 Gerrit-Owner: laforge <laforge at osmocom.org> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: laforge <laforge at osmocom.org> Gerrit-MessageType: merged -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210106/cdda55d2/attachment.htm>