Attention is currently required from: pespin.
fixeria has posted comments on this change. ( https://gerrit.osmocom.org/c/osmocom-bb/+/28669 )
Change subject: trxcon: rework L1CTL socket API to support multiple clients
......................................................................
Patch Set 5:
(1 comment)
File src/host/trxcon/src/l1ctl_link.c:
https://gerrit.osmocom.org/c/osmocom-bb/+/28669/comment/a1e7b772_6238b231
PS5, Line 223: osmo_fd_setup(&server->ofd, -1, OSMO_FD_READ, &l1ctl_server_conn_cb, server, 0);
> Are you sure passing &func is correct here? look at all the osmo_fd_setup in osmocom code.
I am not getting the question. What's wrong with passing &func?
--
To view, visit https://gerrit.osmocom.org/c/osmocom-bb/+/28669
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmocom-bb
Gerrit-Branch: master
Gerrit-Change-Id: I1cfc49f36ead6e2ba0a6110b0fb65c55412ef5e3
Gerrit-Change-Number: 28669
Gerrit-PatchSet: 5
Gerrit-Owner: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-CC: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-Comment-Date: Thu, 21 Jul 2022 02:12:35 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: pespin <pespin(a)sysmocom.de>
Gerrit-MessageType: comment
Attention is currently required from: pespin.
fixeria has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-cbc/+/28705 )
Change subject: cbc_vty: Use value_string to define proto names used in vty
......................................................................
Patch Set 1: Code-Review+2
--
To view, visit https://gerrit.osmocom.org/c/osmo-cbc/+/28705
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-cbc
Gerrit-Branch: master
Gerrit-Change-Id: I125c7e5ca1f86c2ef390a85975465330c3ae1eb0
Gerrit-Change-Number: 28705
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-Comment-Date: Thu, 21 Jul 2022 00:37:13 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
Attention is currently required from: pespin.
fixeria has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-cbc/+/28704 )
Change subject: Use cbc_{cbsp,sbcap}_link_close when possible
......................................................................
Patch Set 1: Code-Review+1
(2 comments)
File src/cbsp_link.c:
https://gerrit.osmocom.org/c/osmo-cbc/+/28704/comment/812656ea_f2a13665
PS1, Line 155: cbc_cbsp_link_close(link);
Unrelated: looks like we leak memory here. I think we need to:
osmo_fsm_inst_free(link->fi);
llist_del(&link->list);
talloc_free(link);
before returning -1.
File src/sbcap_link.c:
https://gerrit.osmocom.org/c/osmo-cbc/+/28704/comment/251e47ca_e8742672
PS1, Line 183: cbc_sbcap_link_close(link);
Same memleak problem here as in cbsp_cbc_accept_cb().
--
To view, visit https://gerrit.osmocom.org/c/osmo-cbc/+/28704
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-cbc
Gerrit-Branch: master
Gerrit-Change-Id: Ie020b9b5ee93ae8d0c9e7266177728185e8635f2
Gerrit-Change-Number: 28704
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-Comment-Date: Thu, 21 Jul 2022 00:36:35 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
lynxis lazus has submitted this change. ( https://gerrit.osmocom.org/c/erlang/osmo_dia2gsup/+/28653 )
Change subject: debian: add generate_build_dep.sh to vendor erlang dependencies
......................................................................
debian: add generate_build_dep.sh to vendor erlang dependencies
To build on OBS the source package must include all dependencies.
Downloading dependencies isn't allowed. generate_build_dep.sh will
download all dependencies.
The jenkins job to update OBS should do this before calling
`dpkg-buildpackage -S` to build a source package.
Related: SYS#6006
Change-Id: I22041887fd1b72ea328605d18801d412b86bfc9c
---
A contrib/generate_build_dep.sh
M debian/rules
2 files changed, 19 insertions(+), 1 deletion(-)
Approvals:
daniel: Looks good to me, approved
osmith: Looks good to me, but someone else must approve
Jenkins Builder: Verified
diff --git a/contrib/generate_build_dep.sh b/contrib/generate_build_dep.sh
new file mode 100755
index 0000000..2c0dc81
--- /dev/null
+++ b/contrib/generate_build_dep.sh
@@ -0,0 +1,17 @@
+#!/bin/sh -e
+
+# execute the script from the top dir of this repository to generate
+# a build_dep.tar.gz for building with debian/OBS
+
+if [ ! -e rebar.config ] ; then
+ echo "Please execute $0 from the top directory of the osmo_dia2gsup directory"
+ exit 1
+fi
+
+set -x
+rm -rf _checkouts _build
+rebar3 get-deps
+mkdir _checkouts
+mv ./_build/default/lib/* _checkouts/
+mv ./_build/default/plugins/* _checkouts/
+tar czf build_dep.tar.gz ./_checkouts
diff --git a/debian/rules b/debian/rules
index 22b84ed..89863f8 100755
--- a/debian/rules
+++ b/debian/rules
@@ -9,10 +9,11 @@
override_dh_auto_build:
dh_auto_build
+ if [ -e build_dep.tar.gz ] ; then tar xzf ./build_dep.tar.gz ; fi
rebar3 compile
rebar3 escriptize
rebar3 eunit
override_dh_clean:
dh_clean
- rm -rf _build
+ rm -rf _build _checkouts
--
To view, visit https://gerrit.osmocom.org/c/erlang/osmo_dia2gsup/+/28653
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: erlang/osmo_dia2gsup
Gerrit-Branch: master
Gerrit-Change-Id: I22041887fd1b72ea328605d18801d412b86bfc9c
Gerrit-Change-Number: 28653
Gerrit-PatchSet: 4
Gerrit-Owner: lynxis lazus <lynxis(a)fe80.eu>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: daniel <dwillmann(a)sysmocom.de>
Gerrit-Reviewer: lynxis lazus <lynxis(a)fe80.eu>
Gerrit-Reviewer: osmith <osmith(a)sysmocom.de>
Gerrit-MessageType: merged