Change in osmo-bts[master]: rsl: rsl_tx_meas_res() does not change l3, make it const

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
Thu Oct 21 23:54:05 UTC 2021


fixeria has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-bts/+/25889 )


Change subject: rsl: rsl_tx_meas_res() does not change l3, make it const
......................................................................

rsl: rsl_tx_meas_res() does not change l3, make it const

Change-Id: Ie60a34f90f7872464e503dc7b56935aee95f0f80
---
M include/osmo-bts/rsl.h
M src/common/rsl.c
2 files changed, 2 insertions(+), 2 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-bts refs/changes/89/25889/1

diff --git a/include/osmo-bts/rsl.h b/include/osmo-bts/rsl.h
index 9d5ec31..dcd476c 100644
--- a/include/osmo-bts/rsl.h
+++ b/include/osmo-bts/rsl.h
@@ -32,6 +32,6 @@
 
 int rsl_tx_cbch_load_indication(struct gsm_bts *bts, bool ext_cbch, bool overflow, uint8_t amount);
 
-int rsl_tx_meas_res(struct gsm_lchan *lchan, uint8_t *l3, int l3_len, int timing_offset);
+int rsl_tx_meas_res(struct gsm_lchan *lchan, const uint8_t *l3, int l3_len, int timing_offset);
 
 #endif // _RSL_H */
diff --git a/src/common/rsl.c b/src/common/rsl.c
index 145cc8a..d14395b 100644
--- a/src/common/rsl.c
+++ b/src/common/rsl.c
@@ -3464,7 +3464,7 @@
 } __attribute__((packed));
 
 /* Compose and send 8.4.8 MEASUREMENT RESult via RSL. (timing_offset=-1 -> not present) */
-int rsl_tx_meas_res(struct gsm_lchan *lchan, uint8_t *l3, int l3_len, int timing_offset)
+int rsl_tx_meas_res(struct gsm_lchan *lchan, const uint8_t *l3, int l3_len, int timing_offset)
 {
 	struct msgb *msg;
 	uint8_t meas_res[16];

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

Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: Ie60a34f90f7872464e503dc7b56935aee95f0f80
Gerrit-Change-Number: 25889
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <vyanitskiy at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20211021/297d5a08/attachment.htm>


More information about the gerrit-log mailing list