Stefan Sperling has posted comments on this change. ( https://gerrit.osmocom.org/11783 )
Change subject: add missing check of osmo_wqueue_enqueue() return value ...................................................................... Patch Set 2: (1 comment) https://gerrit.osmocom.org/#/c/11783/1/src/osmo-bts-sysmo/l1_if.c File src/osmo-bts-sysmo/l1_if.c: https://gerrit.osmocom.org/#/c/11783/1/src/osmo-bts-sysmo/l1_if.c@555 PS1, Line 555: return -ENOBUFS; > IMHO doesn't make much sense to use -EAGAIN while freeing the parameter > passed from caller (msg). […] I agree, thanks. Fixed in next patch set. For what it's worth: I used EAGAIN because EAGAIN is already used by another caller of osmo_wqueue_enqueue() on failure; see l1if_set_trace_flags(). -- To view, visit https://gerrit.osmocom.org/11783 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-bts Gerrit-Branch: master Gerrit-MessageType: comment Gerrit-Change-Id: I5671ca364f31d98f2b28d028e7bf1797386de2ec Gerrit-Change-Number: 11783 Gerrit-PatchSet: 2 Gerrit-Owner: Stefan Sperling <[email protected]> Gerrit-Reviewer: Jenkins Builder (1000002) Gerrit-Reviewer: Stefan Sperling <[email protected]> Gerrit-Reviewer: Vadim Yanitskiy <[email protected]> Gerrit-CC: Pau Espin Pedrol <[email protected]> Gerrit-Comment-Date: Mon, 19 Nov 2018 11:23:41 +0000 Gerrit-HasComments: Yes Gerrit-HasLabels: No
