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.orgHarald Welte has submitted this change and it was merged.
Change subject: Fix annoying trailing whitespace
......................................................................
Fix annoying trailing whitespace
This whitespace keeps being automatically fixed by editor, polluting my
patches.
Change-Id: If0ba1321ed326c1498e3f60b611bd962f2a9484a
---
M src/common/pcu_sock.c
M src/osmo-bts-litecell15/l1_if.c
M src/osmo-bts-litecell15/oml.c
M src/osmo-bts-litecell15/tch.c
M src/osmo-bts-octphy/l1_if.c
5 files changed, 16 insertions(+), 17 deletions(-)
Approvals:
Harald Welte: Looks good to me, approved
Jenkins Builder: Verified
diff --git a/src/common/pcu_sock.c b/src/common/pcu_sock.c
index 1ae6cb6..2755048 100644
--- a/src/common/pcu_sock.c
+++ b/src/common/pcu_sock.c
@@ -74,8 +74,8 @@
return NULL;
msgb_put(msg, sizeof(struct gsm_pcu_if));
pcu_prim = (struct gsm_pcu_if *) msg->data;
- pcu_prim->msg_type = msg_type;
- pcu_prim->bts_nr = bts_nr;
+ pcu_prim->msg_type = msg_type;
+ pcu_prim->bts_nr = bts_nr;
return msg;
}
@@ -566,7 +566,7 @@
struct gsm_bts_trx *trx;
struct gsm_lchan *lchan;
- LOGP(DPCU, LOGL_INFO, "%s request received: TRX=%d TX=%d\n",
+ LOGP(DPCU, LOGL_INFO, "%s request received: TRX=%d TX=%d\n",
(act_req->activate) ? "Activate" : "Deactivate",
act_req->trx_nr, act_req->ts_nr);
diff --git a/src/osmo-bts-litecell15/l1_if.c b/src/osmo-bts-litecell15/l1_if.c
index d6cffc9..bd9e003 100644
--- a/src/osmo-bts-litecell15/l1_if.c
+++ b/src/osmo-bts-litecell15/l1_if.c
@@ -2,7 +2,7 @@
/* Copyright (C) 2015 by Yves Godin <support at nuranwireless.com>
* Copyright (C) 2016 by Harald Welte <laforge at gnumonks.org>
- *
+ *
* Based on sysmoBTS:
* (C) 2011-2014 by Harald Welte <laforge at gnumonks.org>
* (C) 2014 by Holger Hans Peter Freyther
@@ -1482,21 +1482,21 @@
fl1h->hw_info.ver_minor = rc;
rc = lc15bts_option_get(LC15BTS_OPTION_BAND);
- if (rc < 0)
+ if (rc < 0)
return rc;
switch (rc) {
- case LC15BTS_BAND_850:
- fl1h->hw_info.band_support = GSM_BAND_850;
+ case LC15BTS_BAND_850:
+ fl1h->hw_info.band_support = GSM_BAND_850;
break;
- case LC15BTS_BAND_900:
- fl1h->hw_info.band_support = GSM_BAND_900;
+ case LC15BTS_BAND_900:
+ fl1h->hw_info.band_support = GSM_BAND_900;
break;
- case LC15BTS_BAND_1800:
- fl1h->hw_info.band_support = GSM_BAND_1800;
+ case LC15BTS_BAND_1800:
+ fl1h->hw_info.band_support = GSM_BAND_1800;
break;
- case LC15BTS_BAND_1900:
- fl1h->hw_info.band_support = GSM_BAND_1900;
+ case LC15BTS_BAND_1900:
+ fl1h->hw_info.band_support = GSM_BAND_1900;
break;
default:
return -1;
@@ -1576,4 +1576,3 @@
return 0;
}
-
diff --git a/src/osmo-bts-litecell15/oml.c b/src/osmo-bts-litecell15/oml.c
index 5c53feb..d9f613d 100644
--- a/src/osmo-bts-litecell15/oml.c
+++ b/src/osmo-bts-litecell15/oml.c
@@ -1,5 +1,5 @@
/* Copyright (C) 2015 by Yves Godin <support at nuranwireless.com>
- *
+ *
* Based on sysmoBTS:
* (C) 2011 by Harald Welte <laforge at gnumonks.org>
* (C) 2013-2014 by Holger Hans Peter Freyther
diff --git a/src/osmo-bts-litecell15/tch.c b/src/osmo-bts-litecell15/tch.c
index c82d6f8..a29733f 100644
--- a/src/osmo-bts-litecell15/tch.c
+++ b/src/osmo-bts-litecell15/tch.c
@@ -1,7 +1,7 @@
/* Traffic channel support for NuRAN Wireless Litecell 1.5 BTS L1 */
/* Copyright (C) 2015 by Yves Godin <support at nuranwireless.com>
- *
+ *
* Based on sysmoBTS:
* (C) 2011-2012 by Harald Welte <laforge at gnumonks.org>
*
diff --git a/src/osmo-bts-octphy/l1_if.c b/src/osmo-bts-octphy/l1_if.c
index 8b31630..427acdf 100644
--- a/src/osmo-bts-octphy/l1_if.c
+++ b/src/osmo-bts-octphy/l1_if.c
@@ -1103,7 +1103,7 @@
l1sap->u.data.ber10k = b_total ? BER_10K * b_error / b_total : 0;
/* FIXME::burst timing in 1x but PCU is expecting 4X */
- l1sap->u.data.ta_offs_qbits = (data_ind->MeasurementInfo.sBurstTiming * 4);
+ l1sap->u.data.ta_offs_qbits = (data_ind->MeasurementInfo.sBurstTiming * 4);
snr = data_ind->MeasurementInfo.sSNRDb;
/* FIXME: better converion formulae for SnR -> C / I?
l1sap->u.data.lqual_cb = (snr ? snr : (snr - 65536)) * 10 / 256;
--
To view, visit https://gerrit.osmocom.org/3096
To unsubscribe, visit https://gerrit.osmocom.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: If0ba1321ed326c1498e3f60b611bd962f2a9484a
Gerrit-PatchSet: 3
Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Owner: Pau Espin Pedrol <pespin at sysmocom.de>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder