Attention is currently required from: fixeria.
pespin has posted comments on this change by fixeria. ( https://gerrit.osmocom.org/c/docker-playground/+/39597?usp=email )
Change subject: ttcn3-bts-test: do not use respawn.sh
......................................................................
Patch Set 1: Code-Review+1
--
To view, visit https://gerrit.osmocom.org/c/docker-playground/+/39597?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: docker-playground
Gerrit-Branch: master
Gerrit-Change-Id: I770a0530f90c5e03d2073bfc1c4cfd0e840379c9
Gerrit-Change-Number: 39597
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Comment-Date: Fri, 21 Feb 2025 15:23:58 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Attention is currently required from: daniel, lynxis lazus.
pespin has posted comments on this change by lynxis lazus. ( https://gerrit.osmocom.org/c/osmo-ggsn/+/38938?usp=email )
Change subject: gtp: add support for SGSN Context Req/Resp/Ack
......................................................................
Patch Set 11:
(1 comment)
File gtp/gtp_sgsn_ctx.c:
https://gerrit.osmocom.org/c/osmo-ggsn/+/38938/comment/268c2bd4_3c7c9857?us… :
PS11, Line 44: 32
> Add something like SGSN_CTX_REQ_ST_NUM/MAX and use that here
That's fixed by FSM implementation and afaik we use 32 hardocded everywhere.
Yeah, we sould instead add something in osmo_fsm.h with a define, but it's not something really related to this patch.
--
To view, visit https://gerrit.osmocom.org/c/osmo-ggsn/+/38938?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: osmo-ggsn
Gerrit-Branch: master
Gerrit-Change-Id: Idb8ed0bb87200a68bb8caedd734fc070df9179c0
Gerrit-Change-Number: 38938
Gerrit-PatchSet: 11
Gerrit-Owner: lynxis lazus <lynxis(a)fe80.eu>
Gerrit-Reviewer: Jenkins Builder
Gerrit-CC: daniel <dwillmann(a)sysmocom.de>
Gerrit-CC: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: daniel <dwillmann(a)sysmocom.de>
Gerrit-Attention: lynxis lazus <lynxis(a)fe80.eu>
Gerrit-Comment-Date: Fri, 21 Feb 2025 15:22:57 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: daniel <dwillmann(a)sysmocom.de>
Attention is currently required from: lynxis lazus.
pespin has posted comments on this change by lynxis lazus. ( https://gerrit.osmocom.org/c/osmo-sgsn/+/39560?usp=email )
Change subject: add libvlr based on MSC commit 25362cc295036a4671804db9003c3d22a88309d2
......................................................................
Patch Set 5:
(1 comment)
Patchset:
PS5:
@lynxis@fe80.eu could you please refrain from submitting N versions of a patch without at least fixing the problems in it (which means it's not ready for review)? It's quite annoying and makes my reviewing task quite a lot more difficult since I really don't know anymore what I should be reviewing or not.
The outcome of this is that I end up not really looking at the patches anymore.
--
To view, visit https://gerrit.osmocom.org/c/osmo-sgsn/+/39560?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: osmo-sgsn
Gerrit-Branch: master
Gerrit-Change-Id: I221114e00e6f338a75ae0dd7ac285e262b23635d
Gerrit-Change-Number: 39560
Gerrit-PatchSet: 5
Gerrit-Owner: lynxis lazus <lynxis(a)fe80.eu>
Gerrit-Reviewer: Jenkins Builder
Gerrit-CC: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: lynxis lazus <lynxis(a)fe80.eu>
Gerrit-Comment-Date: Fri, 21 Feb 2025 15:20:58 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Attention is currently required from: fixeria, laforge.
osmith has posted comments on this change by osmith. ( https://gerrit.osmocom.org/c/dahdi-linux/+/39594?usp=email )
Change subject: drivers/dahdi/Kbuild: fix 'No rule to make target'
......................................................................
Patch Set 3:
(1 comment)
Patchset:
PS1:
> please mention specifically the version like x.y.z-rcXX that introduced this in the changelog. […]
sorry, but for this patch it is not obvious where this comes from. I could do a git bisect... but that doesn't seem like a good use of time, right?
--
To view, visit https://gerrit.osmocom.org/c/dahdi-linux/+/39594?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: dahdi-linux
Gerrit-Branch: master
Gerrit-Change-Id: I653318e158caf133bf4c81cd04da0adec14ed0d8
Gerrit-Change-Number: 39594
Gerrit-PatchSet: 3
Gerrit-Owner: osmith <osmith(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: laforge <laforge(a)osmocom.org>
Gerrit-Attention: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Comment-Date: Fri, 21 Feb 2025 10:16:51 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: laforge <laforge(a)osmocom.org>
osmith has submitted this change. ( https://gerrit.osmocom.org/c/dahdi-linux/+/39593?usp=email )
Change subject: drivers/dahdi: fix always true cond
......................................................................
drivers/dahdi: fix always true cond
Remove these checks as they are not useful. For example, wc->xb gets
allocated together with wc. With these removed, the code behaves the
same as before.
Fix for these warnings with current linux master:
wcte43x-base.c: In function 't43x_init_one':
wcte43x-base.c:3517:13: warning: the comparison will always evaluate as 'true' for the address of 'xb' will never be NULL [-Waddress]
3517 | if (&wc->xb)
| ^
wcte43x-base.c:141:21: note: 'xb' declared here
141 | struct wcxb xb;
| ^~
xpp/xbus-core.c: In function 'xbus_check_unique':
xpp/xbus-core.c:116:13: warning: the comparison will always evaluate as 'true' for the address of 'label' will never be NULL [-Waddress]
116 | if (xbus->label && *(xbus->label)) {
| ^~~~
etc.
Change-Id: I33ee446a32de3bb8d9fe966a2989994bf4bbd806
---
M drivers/dahdi/dahdi-base.c
M drivers/dahdi/dahdi_dynamic_ethmf.c
M drivers/dahdi/wcte13xp-base.c
M drivers/dahdi/wcte43x-base.c
M drivers/dahdi/xpp/xbus-core.c
5 files changed, 7 insertions(+), 15 deletions(-)
Approvals:
fixeria: Looks good to me, approved
osmith: Verified
pespin: Looks good to me, but someone else must approve
diff --git a/drivers/dahdi/dahdi-base.c b/drivers/dahdi/dahdi-base.c
index 43948bd..0aa1de7 100644
--- a/drivers/dahdi/dahdi-base.c
+++ b/drivers/dahdi/dahdi-base.c
@@ -952,12 +952,8 @@
if (!s)
return -ENODEV;
- if (s->name)
- seq_printf(sfile, "Span %d: %s ", s->spanno, s->name);
- if (s->desc)
- seq_printf(sfile, "\"%s\"", s->desc);
- else
- seq_printf(sfile, "\"\"");
+ seq_printf(sfile, "Span %d: %s ", s->spanno, s->name);
+ seq_printf(sfile, "\"%s\"", s->desc);
if (dahdi_is_sync_master(s))
seq_printf(sfile, " (MASTER)");
@@ -993,9 +989,7 @@
for (x = 0; x < s->channels; x++) {
struct dahdi_chan *chan = s->chans[x];
- if (chan->name)
- seq_printf(sfile, "\t%4d %s ", chan->channo,
- chan->name);
+ seq_printf(sfile, "\t%4d %s ", chan->channo, chan->name);
if (chan->sig) {
if (chan->sig == DAHDI_SIG_SLAVE)
diff --git a/drivers/dahdi/dahdi_dynamic_ethmf.c b/drivers/dahdi/dahdi_dynamic_ethmf.c
index f98280c..998d962 100644
--- a/drivers/dahdi/dahdi_dynamic_ethmf.c
+++ b/drivers/dahdi/dahdi_dynamic_ethmf.c
@@ -535,7 +535,7 @@
kfree(z->msgbuf);
kfree(z);
} else {
- if (z && z->span && z->span->name) {
+ if (z && z->span) {
printk(KERN_ERR "Cannot find interface for %s\n",
z->span->name);
}
diff --git a/drivers/dahdi/wcte13xp-base.c b/drivers/dahdi/wcte13xp-base.c
index cfbdd4a..8ceee67 100644
--- a/drivers/dahdi/wcte13xp-base.c
+++ b/drivers/dahdi/wcte13xp-base.c
@@ -2701,8 +2701,7 @@
return 0;
fail_exit:
- if (&wc->xb)
- wcxb_release(&wc->xb);
+ wcxb_release(&wc->xb);
free_wc(wc);
return res;
diff --git a/drivers/dahdi/wcte43x-base.c b/drivers/dahdi/wcte43x-base.c
index d164a69..0c7fbaf 100644
--- a/drivers/dahdi/wcte43x-base.c
+++ b/drivers/dahdi/wcte43x-base.c
@@ -3514,8 +3514,7 @@
return 0;
fail_exit:
- if (&wc->xb)
- wcxb_release(&wc->xb);
+ wcxb_release(&wc->xb);
if (debug)
dev_info(&wc->xb.pdev->dev, "***At fail_exit in init_one***\n");
diff --git a/drivers/dahdi/xpp/xbus-core.c b/drivers/dahdi/xpp/xbus-core.c
index e08e2d6..141c54f 100644
--- a/drivers/dahdi/xpp/xbus-core.c
+++ b/drivers/dahdi/xpp/xbus-core.c
@@ -113,7 +113,7 @@
{
if (!xbus)
return -ENOENT;
- if (xbus->label && *(xbus->label)) {
+ if (xbus->label[0]) {
xbus_t *xbus_old;
XBUS_DBG(DEVICES, xbus, "Checking LABEL='%s'\n", xbus->label);
--
To view, visit https://gerrit.osmocom.org/c/dahdi-linux/+/39593?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: merged
Gerrit-Project: dahdi-linux
Gerrit-Branch: master
Gerrit-Change-Id: I33ee446a32de3bb8d9fe966a2989994bf4bbd806
Gerrit-Change-Number: 39593
Gerrit-PatchSet: 3
Gerrit-Owner: osmith <osmith(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: osmith <osmith(a)sysmocom.de>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-CC: laforge <laforge(a)osmocom.org>
neels has uploaded this change for review. ( https://gerrit.osmocom.org/c/python/pyosmocom/+/39600?usp=email )
Change subject: utils: add unrpad()
......................................................................
utils: add unrpad()
In pysim.esim.saip, some encoding steps use rpad(); here is the
counterpart, that will allow to also decode values back.
Related: SYS#6768
Change-Id: I48c23390926f8c9412624edb4481e7f4cd3f4b46
---
M src/osmocom/utils.py
1 file changed, 14 insertions(+), 0 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/python/pyosmocom refs/changes/00/39600/1
diff --git a/src/osmocom/utils.py b/src/osmocom/utils.py
index 5947453..e7053c1 100644
--- a/src/osmocom/utils.py
+++ b/src/osmocom/utils.py
@@ -121,6 +121,20 @@
return s + c * (l - len(s))
+def unrpad(s: str, c='f') -> str:
+ """unpad string on the right side -- reverse of rpad().
+ Args:
+ s : string to pad
+ c : padding character
+ Returns:
+ String 's' with all rightmost c stripped.
+ """
+ end = len(s)
+ while end > 0 and s[end - 1] == c:
+ end -= 1
+ return s[:end]
+
+
def lpad(s: str, l: int, c='f') -> str:
"""pad string on the left side.
Args:
--
To view, visit https://gerrit.osmocom.org/c/python/pyosmocom/+/39600?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: newchange
Gerrit-Project: python/pyosmocom
Gerrit-Branch: master
Gerrit-Change-Id: I48c23390926f8c9412624edb4481e7f4cd3f4b46
Gerrit-Change-Number: 39600
Gerrit-PatchSet: 1
Gerrit-Owner: neels <nhofmeyr(a)sysmocom.de>