laforge has submitted this change. ( https://gerrit.osmocom.org/c/osmocom-bb/+/35310?usp=email )
Change subject: virt_phy: fix checking stderr_target in ms_log_init()
......................................................................
virt_phy: fix checking stderr_target in ms_log_init()
Checking the stderr makes a little sense, since it's an integer
value (usually equal to 2). The actual intention, most likely,
was to check 'stderr_target' against NULL.
Change-Id: Id597f766142f928135f9fd2b7cf4d69de7bc72f0
Related: OS#6299
---
M src/host/virt_phy/src/logging.c
1 file changed, 15 insertions(+), 2 deletions(-)
Approvals:
laforge: Looks good to me, approved
Jenkins Builder: Verified
diff --git a/src/host/virt_phy/src/logging.c b/src/host/virt_phy/src/logging.c
index 0a1b2a4..19951ef 100644
--- a/src/host/virt_phy/src/logging.c
+++ b/src/host/virt_phy/src/logging.c
@@ -113,8 +113,7 @@
log_init(&ms_log_info, NULL);
stderr_target = log_target_create_stderr();
- if (!stderr)
- return -1;
+ OSMO_ASSERT(stderr_target != NULL);
log_add_target(stderr_target);
log_set_all_filter(stderr_target, 1);
--
To view, visit https://gerrit.osmocom.org/c/osmocom-bb/+/35310?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmocom-bb
Gerrit-Branch: master
Gerrit-Change-Id: Id597f766142f928135f9fd2b7cf4d69de7bc72f0
Gerrit-Change-Number: 35310
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-MessageType: merged
Attention is currently required from: fixeria.
laforge has posted comments on this change. ( https://gerrit.osmocom.org/c/osmocom-bb/+/35311?usp=email )
Change subject: virt_phy: use osmo_init_logging2() to init logging
......................................................................
Patch Set 1: Code-Review+1
--
To view, visit https://gerrit.osmocom.org/c/osmocom-bb/+/35311?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmocom-bb
Gerrit-Branch: master
Gerrit-Change-Id: Iaaaa3b0c1aaea8d96b760938a4638eaa0dd65bc7
Gerrit-Change-Number: 35311
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Attention: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Comment-Date: Sun, 10 Dec 2023 11:27:09 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
Attention is currently required from: neels, pespin.
laforge has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-mgw/+/34900?usp=email )
Change subject: add fmtp string to ptmap: allow all possible fmtp
......................................................................
Patch Set 10:
(1 comment)
File include/osmocom/mgcp/fmtp.h:
https://gerrit.osmocom.org/c/osmo-mgw/+/34900/comment/84a3fd26_6a9f4b4d
PS10, Line 1: #pragma once
> RFC: add this header to libosmocore instead? […]
libosmocore is too generic for mgcp specific stuff. I don't really think it would be wrong to link osmo-mgw also against libosmo-mgcp-client, even though it's ugly.
You might also be able to
* add it to libosmo-mgcp-client
* also link to that one spcecific file from osmo-mgw (either directly, or via a separate internal .a libary)
--
To view, visit https://gerrit.osmocom.org/c/osmo-mgw/+/34900?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-mgw
Gerrit-Branch: master
Gerrit-Change-Id: If58590bda8627519ff07e0b6f43aa47a274f052b
Gerrit-Change-Number: 34900
Gerrit-PatchSet: 10
Gerrit-Owner: neels <nhofmeyr(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: neels <nhofmeyr(a)sysmocom.de>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-CC: dexter <pmaier(a)sysmocom.de>
Gerrit-Attention: neels <nhofmeyr(a)sysmocom.de>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-Comment-Date: Sun, 10 Dec 2023 11:25:29 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: neels <nhofmeyr(a)sysmocom.de>
Gerrit-MessageType: comment
fixeria has posted comments on this change. ( https://gerrit.osmocom.org/c/libosmocore/+/35297?usp=email )
Change subject: soft_uart: fix the Rx flushing logic, add a unit test
......................................................................
Set Ready For Review
--
To view, visit https://gerrit.osmocom.org/c/libosmocore/+/35297?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: I5179f5fd2361e4e96ac9bf48e80b99e53a7e4712
Gerrit-Change-Number: 35297
Gerrit-PatchSet: 3
Gerrit-Owner: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Comment-Date: Sun, 10 Dec 2023 11:23:24 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: No
Gerrit-MessageType: comment