Attention is currently required from: pespin, msuraev. neels has posted comments on this change. ( https://gerrit.osmocom.org/c/osmocom-bb/+/30960 ) Change subject: Move osmocom_ms to a separate file ...................................................................... Patch Set 5: (3 comments) File src/host/layer23/include/osmocom/bb/common/osmocom_data.h: https://gerrit.osmocom.org/c/osmocom-bb/+/30960/comment/ac1d3af1_c2782c01 PS5, Line 3: #include <stdint.h> the above are unrelated changes sneaking into this patch File src/host/layer23/src/common/main.c: https://gerrit.osmocom.org/c/osmocom-bb/+/30960/comment/2d84c209_e1539ff4 PS5, Line 271: ms = osmocom_ms_alloc(l23_ctx);
The osmocom_ms_alloc() might return NULL - you should check for this. (ack, IMO would suffice to OSMO_ASSERT(ms) either here or in osmocom_ms_alloc())
https://gerrit.osmocom.org/c/osmocom-bb/+/30960/comment/a749b888_29b18707 PS5, Line 272: llist_add_tail(&ms->entity, &ms_list); i guess this llist_add would also belong in osmocom_ms_alloc()? -- To view, visit https://gerrit.osmocom.org/c/osmocom-bb/+/30960 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmocom-bb Gerrit-Branch: master Gerrit-Change-Id: Icb4891cc1e4a0ecb5f09cb8a84b0ebe1b91a46b8 Gerrit-Change-Number: 30960 Gerrit-PatchSet: 5 Gerrit-Owner: pespin <pespin@sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: msuraev <msuraev@sysmocom.de> Gerrit-CC: neels <nhofmeyr@sysmocom.de> Gerrit-Attention: pespin <pespin@sysmocom.de> Gerrit-Attention: msuraev <msuraev@sysmocom.de> Gerrit-Comment-Date: Sun, 15 Jan 2023 23:19:56 +0000 Gerrit-HasComments: Yes Gerrit-Has-Labels: No Comment-In-Reply-To: msuraev <msuraev@sysmocom.de> Gerrit-MessageType: comment