Attention is currently required from: msuraev.
pespin has posted comments on this change. ( https://gerrit.osmocom.org/c/libosmo-netif/+/30226 )
Change subject: Add assert for link check to osmo_stream_srv_create()
......................................................................
Patch Set 6: Code-Review+1
--
To view, visit https://gerrit.osmocom.org/c/libosmo-netif/+/30226
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: libosmo-netif
Gerrit-Branch: master
Gerrit-Change-Id: If494eac5dcce6c5ae30e928b92e57067d5681a42
Gerrit-Change-Number: 30226
Gerrit-PatchSet: 6
Gerrit-Owner: msuraev <msuraev(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: msuraev <msuraev(a)sysmocom.de>
Gerrit-Comment-Date: Mon, 21 Nov 2022 12:30:35 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
Attention is currently required from: pespin, msuraev.
fixeria has posted comments on this change. ( https://gerrit.osmocom.org/c/libosmocore/+/30244 )
Change subject: LAPD: move tx_hist code into static functions
......................................................................
Patch Set 7: Code-Review-1
(1 comment)
File src/gsm/lapd_core.c:
https://gerrit.osmocom.org/c/libosmocore/+/30244/comment/244dcc91_6667f6a4
PS7, Line 1750: msg_to_tx_hist0
I don't like this. Why not pass a struct lapd_history pointer (be it &dl->tx_hist[h] or &dl->tx_hist[0]) directly to msg_to_tx_hist()? You're not accessing any other fields in dl anyway, AFAICS.
--
To view, visit https://gerrit.osmocom.org/c/libosmocore/+/30244
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: Ibf3b08c8d874416796b94ba3a672a02d614313b1
Gerrit-Change-Number: 30244
Gerrit-PatchSet: 7
Gerrit-Owner: msuraev <msuraev(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: msuraev <msuraev(a)sysmocom.de>
Gerrit-Comment-Date: Mon, 21 Nov 2022 12:28:36 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
Attention is currently required from: msuraev.
Hello Jenkins Builder, pespin, fixeria,
I'd like you to reexamine a change. Please visit
https://gerrit.osmocom.org/c/libosmo-netif/+/30226
to look at the new patch set (#6).
Change subject: Add assert for link check to osmo_stream_srv_create()
......................................................................
Add assert for link check to osmo_stream_srv_create()
We implicitly rely on conn->srv availability in several functions.
Let's ensure it's available in function creating conn.
Change-Id: If494eac5dcce6c5ae30e928b92e57067d5681a42
---
M src/stream.c
1 file changed, 2 insertions(+), 0 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/libosmo-netif refs/changes/26/30226/6
--
To view, visit https://gerrit.osmocom.org/c/libosmo-netif/+/30226
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: libosmo-netif
Gerrit-Branch: master
Gerrit-Change-Id: If494eac5dcce6c5ae30e928b92e57067d5681a42
Gerrit-Change-Number: 30226
Gerrit-PatchSet: 6
Gerrit-Owner: msuraev <msuraev(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: msuraev <msuraev(a)sysmocom.de>
Gerrit-MessageType: newpatchset
pespin has uploaded a new patch set (#2). ( https://gerrit.osmocom.org/c/osmo-pcu/+/30251 )
Change subject: Convert gprs_debug.cpp to C
......................................................................
Convert gprs_debug.cpp to C
Change-Id: I142b870abda36950db5ff296c7c22228b0b11f55
---
M src/Makefile.am
R src/gprs_debug.c
M src/gprs_debug.h
3 files changed, 7 insertions(+), 7 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-pcu refs/changes/51/30251/2
--
To view, visit https://gerrit.osmocom.org/c/osmo-pcu/+/30251
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-pcu
Gerrit-Branch: master
Gerrit-Change-Id: I142b870abda36950db5ff296c7c22228b0b11f55
Gerrit-Change-Number: 30251
Gerrit-PatchSet: 2
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-CC: Jenkins Builder
Gerrit-MessageType: newpatchset
Jenkins Builder has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-pcu/+/30251 )
Change subject: Convert gprs_debug.cpp to C
......................................................................
Patch Set 1:
(1 comment)
File src/gprs_debug.h:
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1201):
https://gerrit.osmocom.org/c/osmo-pcu/+/30251/comment/4b32bae5_3e6dbd08
PS1, Line 51: #endif
adding a line without newline at end of file
--
To view, visit https://gerrit.osmocom.org/c/osmo-pcu/+/30251
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-pcu
Gerrit-Branch: master
Gerrit-Change-Id: I142b870abda36950db5ff296c7c22228b0b11f55
Gerrit-Change-Number: 30251
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-CC: Jenkins Builder
Gerrit-Comment-Date: Mon, 21 Nov 2022 12:07:22 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
pespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-pcu/+/30251 )
Change subject: Convert gprs_debug.cpp to C
......................................................................
Convert gprs_debug.cpp to C
Change-Id: I142b870abda36950db5ff296c7c22228b0b11f55
---
M src/Makefile.am
R src/gprs_debug.c
M src/gprs_debug.h
3 files changed, 7 insertions(+), 7 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-pcu refs/changes/51/30251/1
diff --git a/src/Makefile.am b/src/Makefile.am
index ccc40ac..e7e94e0 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -39,7 +39,7 @@
noinst_LTLIBRARIES = libgprs.la
libgprs_la_SOURCES = \
- gprs_debug.cpp \
+ gprs_debug.c \
csn1.c \
csn1_dec.c \
csn1_enc.c \
diff --git a/src/gprs_debug.cpp b/src/gprs_debug.c
similarity index 97%
rename from src/gprs_debug.cpp
rename to src/gprs_debug.c
index 61c1c87..03ef083 100644
--- a/src/gprs_debug.cpp
+++ b/src/gprs_debug.c
@@ -1,7 +1,8 @@
-/* gprs_debug.cpp
+/* gprs_debug.c
*
* Copyright (C) 2012 Ivan Klyuchnikov
* Copyright (C) 2019 Harald Welte <laforge(a)gnumonks.org>
+ * Copyright (C) 2022 by sysmocom - s.f.m.c. GmbH <info(a)sysmocom.de>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
@@ -14,10 +15,8 @@
* GNU General Public License for more details.
*/
-extern "C" {
#include <osmocom/core/utils.h>
#include <osmocom/core/logging.h>
-}
#include <gprs_debug.h>
diff --git a/src/gprs_debug.h b/src/gprs_debug.h
index b683a63..eddbe75 100644
--- a/src/gprs_debug.h
+++ b/src/gprs_debug.h
@@ -19,9 +19,6 @@
extern "C" {
#endif
#include <osmocom/core/logging.h>
-#ifdef __cplusplus
-};
-#endif
/* we used to have DBSSGP definded in each application, and applications telling
* libosmogb which sub-system to use. That creates problems and has been deprecated */
@@ -48,3 +45,7 @@
};
extern const struct log_info gprs_log_info;
+
+#ifdef __cplusplus
+};
+#endif
\ No newline at end of file
--
To view, visit https://gerrit.osmocom.org/c/osmo-pcu/+/30251
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-pcu
Gerrit-Branch: master
Gerrit-Change-Id: I142b870abda36950db5ff296c7c22228b0b11f55
Gerrit-Change-Number: 30251
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-MessageType: newchange