Change in osmo-bts[master]: oc2g: Fix compilation error (comment mark inside comment)

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/.

Harald Welte gerrit-no-reply at lists.osmocom.org
Wed Feb 20 20:39:48 UTC 2019


Harald Welte has submitted this change and it was merged. ( https://gerrit.osmocom.org/12962 )

Change subject: oc2g: Fix compilation error (comment mark inside comment)
......................................................................

oc2g: Fix compilation error (comment mark inside comment)

Change-Id: Ib27b31825744ea397b5b4eb258da78f5f834895c
---
M src/osmo-bts-oc2g/l1_if.c
M src/osmo-bts-oc2g/main.c
M src/osmo-bts-oc2g/oc2gbts_vty.c
M src/osmo-bts-oc2g/oml.c
4 files changed, 19 insertions(+), 18 deletions(-)

Approvals:
  Jenkins Builder: Verified
  Vadim Yanitskiy: Looks good to me, but someone else must approve
  Harald Welte: Looks good to me, approved



diff --git a/src/osmo-bts-oc2g/l1_if.c b/src/osmo-bts-oc2g/l1_if.c
index d8fdd96..884ce4e 100644
--- a/src/osmo-bts-oc2g/l1_if.c
+++ b/src/osmo-bts-oc2g/l1_if.c
@@ -1745,7 +1745,7 @@
 		return -EIO;
 	}
 
-	/* initialize DSP heart beat alive timer * /
+	/ * initialize DSP heart beat alive timer * /
 	fl1h->hw_alive.dsp_alive_timer.cb = dsp_alive_timer_cb;
 	fl1h->hw_alive.dsp_alive_timer.data = fl1h;
 	fl1h->hw_alive.dsp_alive_cnt = 0;
diff --git a/src/osmo-bts-oc2g/main.c b/src/osmo-bts-oc2g/main.c
index 574bc72..e685150 100644
--- a/src/osmo-bts-oc2g/main.c
+++ b/src/osmo-bts-oc2g/main.c
@@ -94,9 +94,9 @@
 
 	/* TODO(oramadan) MERGE
 	bts->oc2g.led_ctrl_mode = OC2G_BTS_LED_CTRL_MODE_DEFAULT;
-	/* RTP drift threshold default * /
-	bts->oc2g.rtp_drift_thres_ms = OC2G_BTS_RTP_DRIFT_THRES_DEFAULT;
 	*/
+	/* RTP drift threshold default */
+	/* bts->oc2g.rtp_drift_thres_ms = OC2G_BTS_RTP_DRIFT_THRES_DEFAULT; */
 
 	rc = oml_router_init(bts, OML_ROUTER_PATH, &accept_fd, &read_fd);
 	if (rc < 0) {
diff --git a/src/osmo-bts-oc2g/oc2gbts_vty.c b/src/osmo-bts-oc2g/oc2gbts_vty.c
index 4f7c45a..099698f 100644
--- a/src/osmo-bts-oc2g/oc2gbts_vty.c
+++ b/src/osmo-bts-oc2g/oc2gbts_vty.c
@@ -507,16 +507,16 @@
 		return CMD_WARNING;
 	}
 	/* TODO(oramadan) MERGE
-	/* store recorded HO causes * /
+	/ * store recorded HO causes * /
 	old_ho_cause = lchan->meas_preproc.rec_ho_causes;
 
-	/* Apply new HO causes * /
+	/ * Apply new HO causes * /
 	lchan->meas_preproc.rec_ho_causes = 1 << (ho_cause - 1);
 
-	/* Send measuremnt report to BSC * /
+	/ * Send measuremnt report to BSC * /
 	rsl_tx_preproc_meas_res(lchan);
 
-	/* restore HO cause * /
+	/ * restore HO cause * /
 	lchan->meas_preproc.rec_ho_causes = old_ho_cause;
 	*/
 
@@ -673,7 +673,7 @@
 }
 
 /* TODO(oramadan) MERGE
-/* OC2G BTS control interface * /
+/ * OC2G BTS control interface * /
 CTRL_CMD_DEFINE_WO_NOVRF(oc2g_oml_alert, "oc2g-oml-alert");
 static int set_oc2g_oml_alert(struct ctrl_cmd *cmd, void *data)
 {
@@ -688,10 +688,10 @@
 	memcpy(alarm_sig_data.spare, &cause, sizeof(int));
 	LOGP(DLCTRL, LOGL_NOTICE, "BTS received MGR alarm cause=%d, text=%s\n", cause, alarm_sig_data.add_text);
 
-	/* dispatch OML alarm signal * /
+	/ * dispatch OML alarm signal * /
 	osmo_signal_dispatch(SS_NM, S_NM_OML_BTS_MGR_ALARM, &alarm_sig_data);
 
-	/* return with same alarm cause to MGR rather than OK string* /
+	/ * return with same alarm cause to MGR rather than OK string* /
 	cmd->reply = talloc_asprintf(cmd, "%d", cause);
 	return CTRL_CMD_REPLY;
 }
@@ -709,11 +709,10 @@
 	memcpy(alarm_sig_data.spare, &cause, sizeof(int));
 	LOGP(DLCTRL, LOGL_NOTICE, "BTS received MGR ceased alarm cause=%d, text=%s\n", cause, alarm_sig_data.add_text);
 
-	/* dispatch OML alarm signal * /
+	/ * dispatch OML alarm signal * /
 	osmo_signal_dispatch(SS_NM, S_NM_OML_BTS_MGR_CEASED_ALARM, &alarm_sig_data);
-	*/
 
-	/* return with same alarm cause to MGR rather than OK string* /
+	/ * return with same alarm cause to MGR rather than OK string* /
 	cmd->reply = talloc_asprintf(cmd, "%d", cause);
 	return CTRL_CMD_REPLY;
 }
diff --git a/src/osmo-bts-oc2g/oml.c b/src/osmo-bts-oc2g/oml.c
index 6cf7e1d..3202409 100644
--- a/src/osmo-bts-oc2g/oml.c
+++ b/src/osmo-bts-oc2g/oml.c
@@ -354,19 +354,21 @@
 	if (trx->mo.nm_state.administrative == NM_STATE_LOCKED)
 		trx_rf_lock(trx, 1, trx_mute_on_init_cb);
 
-	/* apply initial values for Tx power backoff for 8-PSK * /
-	trx->max_power_backoff_8psk = fl1h->phy_inst->u.oc2g.tx_pwr_red_8psk;
+	/* apply initial values for Tx power backoff for 8-PSK */
+	/*trx->max_power_backoff_8psk = fl1h->phy_inst->u.oc2g.tx_pwr_red_8psk;
 	l1if_set_txpower_backoff_8psk(fl1h, fl1h->phy_inst->u.oc2g.tx_pwr_red_8psk);
 	LOGP(DL1C, LOGL_INFO, "%s Applied initial 8-PSK Tx power backoff of %d dB\n",
 			gsm_trx_name(fl1h->phy_inst->trx),
 			fl1h->phy_inst->u.oc2g.tx_pwr_red_8psk);
+	*/
 
-	/* apply initial values for Tx C0 idle slot power reduction * /
-	trx->c0_idle_power_red = fl1h->phy_inst->u.oc2g.tx_c0_idle_pwr_red;
+	/* apply initial values for Tx C0 idle slot power reduction */
+	/*trx->c0_idle_power_red = fl1h->phy_inst->u.oc2g.tx_c0_idle_pwr_red;
 	l1if_set_txpower_c0_idle_pwr_red(fl1h, fl1h->phy_inst->u.oc2g.tx_c0_idle_pwr_red);
 	LOGP(DL1C, LOGL_INFO, "%s Applied initial C0 idle slot power reduction of %d dB\n",
 			gsm_trx_name(fl1h->phy_inst->trx),
-			fl1h->phy_inst->u.oc2g.tx_c0_idle_pwr_red); */
+			fl1h->phy_inst->u.oc2g.tx_c0_idle_pwr_red);
+	*/
 
 	/* Begin to ramp up the power */
 	power_ramp_start(trx, get_p_target_mdBm(trx, 0), 0);

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

Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: Ib27b31825744ea397b5b4eb258da78f5f834895c
Gerrit-Change-Number: 12962
Gerrit-PatchSet: 2
Gerrit-Owner: Pau Espin Pedrol <pespin at sysmocom.de>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder (1000002)
Gerrit-Reviewer: Pau Espin Pedrol <pespin at sysmocom.de>
Gerrit-Reviewer: Vadim Yanitskiy <axilirator at gmail.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190220/7c64bc04/attachment.htm>


More information about the gerrit-log mailing list