Attention is currently required from: fixeria, osmith, pespin.

neels has posted comments on this change. ( 
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/37189?usp=email )

Change subject: Osmocom_CTRL: counters: return -1 for absent objects
......................................................................


Patch Set 2: Code-Review+2

(1 comment)

Patchset:

PS1: 
> The proposed approach looks acceptable to me, so CR+1 from me. […]
exactly! =)

But i think Pau's point is that f_ctrl_get_ratectr_abs() now changes its 
behavior when given an invalid counter name: from titan setverdict(fail) to val 
== -1.

We can add another such on_err arg to f_ctrl_get_ratectr_abs(), but I think we 
can also do that when any caller needs it, i.e. in a future patch. (I think 
this will never happen, too, because -1 also trivially causes setverdict(fail) 
in all common usage.)

I have 2 CR now, let's resolve.



--
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/37189?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: Id00bbfe721d453e5f551e6d47e1b1d03d219700b
Gerrit-Change-Number: 37189
Gerrit-PatchSet: 2
Gerrit-Owner: neels <nhofm...@sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanits...@sysmocom.de>
Gerrit-Reviewer: laforge <lafo...@osmocom.org>
Gerrit-Reviewer: neels <nhofm...@sysmocom.de>
Gerrit-Reviewer: osmith <osm...@sysmocom.de>
Gerrit-CC: pespin <pes...@sysmocom.de>
Gerrit-Attention: osmith <osm...@sysmocom.de>
Gerrit-Attention: fixeria <vyanits...@sysmocom.de>
Gerrit-Attention: pespin <pes...@sysmocom.de>
Gerrit-Comment-Date: Mon, 17 Jun 2024 00:51:40 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Comment-In-Reply-To: neels <nhofm...@sysmocom.de>
Comment-In-Reply-To: fixeria <vyanits...@sysmocom.de>
Comment-In-Reply-To: pespin <pes...@sysmocom.de>
Gerrit-MessageType: comment

Reply via email to