dexter has submitted this change. ( https://gerrit.osmocom.org/c/osmo-bsc/+/28913 ) Change subject: signal.h: make om2k mo const ...................................................................... signal.h: make om2k mo const The om2k mo that is put into the nsd as reference to notify other entities about the signal change can be const. Its only accessed read-only (if at all) and also the API in abis_om2000.h suggests that the om2k mo should be const. Change-Id: Id0969d44855506af18974de1ea81105653920d2f Related: OS#5634 --- M include/osmocom/bsc/signal.h 1 file changed, 1 insertion(+), 1 deletion(-) Approvals: Jenkins Builder: Verified pespin: Looks good to me, but someone else must approve fixeria: Looks good to me, approved diff --git a/include/osmocom/bsc/signal.h b/include/osmocom/bsc/signal.h index 66776da..300bd55 100644 --- a/include/osmocom/bsc/signal.h +++ b/include/osmocom/bsc/signal.h @@ -138,7 +138,7 @@ /* This pointer is valid for TS 12.21 MO */ struct abis_om_obj_inst *obj_inst; /* This pointer is valid for RBS2000 MO */ - struct abis_om2k_mo *om2k_mo; + const struct abis_om2k_mo *om2k_mo; }; /* data for <SS_NM, S_NM_RUNNING_CHG>: */ 1 is the latest approved patch-set. No files were changed between the latest approved patch-set and the submitted one. -- To view, visit https://gerrit.osmocom.org/c/osmo-bsc/+/28913 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-bsc Gerrit-Branch: master Gerrit-Change-Id: Id0969d44855506af18974de1ea81105653920d2f Gerrit-Change-Number: 28913 Gerrit-PatchSet: 2 Gerrit-Owner: dexter <pmaier@sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: dexter <pmaier@sysmocom.de> Gerrit-Reviewer: fixeria <vyanitskiy@sysmocom.de> Gerrit-Reviewer: pespin <pespin@sysmocom.de> Gerrit-MessageType: merged