Change in ...libosmocore[master]: tdef: Introduce min_val and max_val fields

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

fixeria gerrit-no-reply at lists.osmocom.org
Tue Sep 17 17:33:54 UTC 2019


fixeria has posted comments on this change. ( https://gerrit.osmocom.org/c/libosmocore/+/15546 )

Change subject: tdef: Introduce min_val and max_val fields
......................................................................


Patch Set 1: Code-Review+1

(3 comments)

https://gerrit.osmocom.org/#/c/15546/1/src/tdef.c 
File src/tdef.c:

https://gerrit.osmocom.org/#/c/15546/1/src/tdef.c@137 
PS1, Line 137: Set all osmo_tdef values to the default_val.
Please update documentation too as you're introducing additional functionality.


https://gerrit.osmocom.org/#/c/15546/1/src/tdef.c@235 
PS1, Line 235: EINVAL
How about ERANGE?


https://gerrit.osmocom.org/#/c/15546/1/src/vty/tdef_vty.c 
File src/vty/tdef_vty.c:

https://gerrit.osmocom.org/#/c/15546/1/src/vty/tdef_vty.c@127 
PS1, Line 127: Invalid T timer value %lu (should be %lu <= val <= %lu)
This message could be more concrete:

  "Timer value %lu is out of range (%lu .. %lu)"

Not a merge blocker, just a recommendation.



-- 
To view, visit https://gerrit.osmocom.org/c/libosmocore/+/15546
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: I4661ac41c29a009a1d5fc57d87aaee6041c7d1b2
Gerrit-Change-Number: 15546
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <axilirator at gmail.com>
Gerrit-Comment-Date: Tue, 17 Sep 2019 17:33:54 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190917/100c48c0/attachment.htm>


More information about the gerrit-log mailing list