Change in osmo-bts[master]: oc2g: Fix mismatching signature in callback provided

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

pespin gerrit-no-reply at lists.osmocom.org
Fri Apr 24 21:22:04 UTC 2020


pespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-bts/+/17939 )


Change subject: oc2g: Fix mismatching signature in callback provided
......................................................................

oc2g: Fix mismatching signature in callback provided

Similar to what's done for lc15 in
Id80d5a52cbccce54456205dec230a0b546b8b310.

Change-Id: I06747d5992d09a506d26089391ef130418506333
---
M src/osmo-bts-oc2g/l1_if.c
1 file changed, 2 insertions(+), 1 deletion(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-bts refs/changes/39/17939/1

diff --git a/src/osmo-bts-oc2g/l1_if.c b/src/osmo-bts-oc2g/l1_if.c
index 6b482b7..8e48674 100644
--- a/src/osmo-bts-oc2g/l1_if.c
+++ b/src/osmo-bts-oc2g/l1_if.c
@@ -1658,7 +1658,7 @@
 
 /* TODO(oramadan) MERGE */
 #ifdef MERGE_ME
-static void dsp_alive_compl_cb(struct gsm_bts_trx *trx, struct msgb *resp, void *data)
+static int dsp_alive_compl_cb(struct gsm_bts_trx *trx, struct msgb *resp, void *data)
 {
 	Oc2g_Prim_t *sysp = msgb_sysprim(resp);
 	Oc2g_IsAliveCnf_t *sac = &sysp->u.isAliveCnf;
@@ -1669,6 +1669,7 @@
 			get_value_string(oc2gbts_sysprim_names, sysp->id), sac->status, trx->nr);
 
 	msgb_free(resp);
+	return 0;
 }
 
 static void dsp_alive_timer_cb(void *data)

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-bts/+/17939
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: I06747d5992d09a506d26089391ef130418506333
Gerrit-Change-Number: 17939
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200424/c64caa4a/attachment.htm>


More information about the gerrit-log mailing list