Change in ...osmo-pcu[master]: fix spelling errors detected by lintian
laforge
gerrit-no-reply at lists.osmocom.org
Wed Jul 17 10:56:19 UTC 2019
laforge has submitted this change and it was merged. ( https://gerrit.osmocom.org/c/osmo-pcu/+/14801 )
Change subject: fix spelling errors detected by lintian
......................................................................
fix spelling errors detected by lintian
Change-Id: I381618eb55cc513cfa9c2e384c27cead0935c8bf
---
M src/bts.cpp
M src/decoding.cpp
M src/encoding.cpp
M src/gsm_rlcmac.cpp
M src/gsm_rlcmac.h
M src/pcu_l1_if.cpp
M src/pdch.cpp
M src/tbf.cpp
M src/tbf.h
9 files changed, 14 insertions(+), 14 deletions(-)
Approvals:
laforge: Looks good to me, approved
pespin: Looks good to me, approved
Jenkins Builder: Verified
diff --git a/src/bts.cpp b/src/bts.cpp
index 8799c3d..395fc73 100644
--- a/src/bts.cpp
+++ b/src/bts.cpp
@@ -611,7 +611,7 @@
* we roll back the rounded frame number by one RFN_MODULUS */
if (abs(rfn - m_cur_rfn) > RFN_THRESHOLD) {
LOGP(DRLCMAC, LOGL_DEBUG,
- "Race condition between rfn (%u) and m_cur_fn (%u) detected: rfn belongs to the previos modulus %u cycle, wrappng...\n",
+ "Race condition between rfn (%u) and m_cur_fn (%u) detected: rfn belongs to the previous modulus %u cycle, wrapping...\n",
rfn, m_cur_fn, RFN_MODULUS);
if (fn_rounded < RFN_MODULUS) {
LOGP(DRLCMAC, LOGL_DEBUG,
diff --git a/src/decoding.cpp b/src/decoding.cpp
index d439e30..99a17dc 100644
--- a/src/decoding.cpp
+++ b/src/decoding.cpp
@@ -77,7 +77,7 @@
/* TS 44.060, table 10.4.14a.1, row 3 & 5 */
/* only filling bytes left */
LOGP(DRLCMACUL, LOGL_DEBUG, "UL DATA LI contains "
- "only filling bytes with extention octet: LI=%d, E=%d, count=%d\n",
+ "only filling bytes with extension octet: LI=%d, E=%d, count=%d\n",
li->li, li->e, num_chunks);
break;
} else if (li->li > 0) {
@@ -92,7 +92,7 @@
}
LOGP(DRLCMACUL, LOGL_DEBUG, "UL DATA LI contains "
- "extention octet: LI=%d, E=%d, count=%d\n",
+ "extension octet: LI=%d, E=%d, count=%d\n",
li->li, li->e, num_chunks);
num_chunks += 1;
@@ -168,7 +168,7 @@
chunks[num_chunks].is_complete = li->li || is_last_block;
LOGP(DRLCMACUL, LOGL_DEBUG, "UL DATA LI contains "
- "extention octet: LI=%d, M=%d, E=%d, count=%d\n",
+ "extension octet: LI=%d, M=%d, E=%d, count=%d\n",
li->li, li->m, li->e, num_chunks);
num_chunks += 1;
diff --git a/src/encoding.cpp b/src/encoding.cpp
index ca9e906..3fac75e 100644
--- a/src/encoding.cpp
+++ b/src/encoding.cpp
@@ -532,7 +532,7 @@
if (rc < 0) {
LOGP(DRLCMAC, LOGL_ERROR,
- "Failed to create IMMEDIATE ASSIGMENT (%s) for %s\n",
+ "Failed to create IMMEDIATE ASSIGNMENT (%s) for %s\n",
downlink ? "downlink" : "uplink",
tbf ? tbf->name() : "single block allocation");
return rc;
diff --git a/src/gsm_rlcmac.cpp b/src/gsm_rlcmac.cpp
index 6323b09..ef7abcd 100644
--- a/src/gsm_rlcmac.cpp
+++ b/src/gsm_rlcmac.cpp
@@ -1363,8 +1363,8 @@
static const
CSN_DESCR_BEGIN(PCCF_AdditionsR5_t)
- M_NEXT_EXIST (PCCF_AdditionsR5_t, Exist_G_RNTI_extention, 1),
- M_UINT (PCCF_AdditionsR5_t, G_RNTI_extention, 4),
+ M_NEXT_EXIST (PCCF_AdditionsR5_t, Exist_G_RNTI_extension, 1),
+ M_UINT (PCCF_AdditionsR5_t, G_RNTI_extension, 4),
M_NEXT_EXIST_OR_NULL(PCCF_AdditionsR5_t, Exist_AdditionsR8, 1),
M_TYPE (PCCF_AdditionsR5_t, AdditionsR8, PCCF_AdditionsR8_t),
CSN_DESCR_END (PCCF_AdditionsR5_t)
diff --git a/src/gsm_rlcmac.h b/src/gsm_rlcmac.h
index 2ad1937..a4750e8 100644
--- a/src/gsm_rlcmac.h
+++ b/src/gsm_rlcmac.h
@@ -1602,8 +1602,8 @@
typedef struct
{
- guint8 Exist_G_RNTI_extention;
- guint8 G_RNTI_extention;
+ guint8 Exist_G_RNTI_extension;
+ guint8 G_RNTI_extension;
guint8 Exist_AdditionsR8;
PCCF_AdditionsR8_t AdditionsR8;
} PCCF_AdditionsR5_t;
diff --git a/src/pcu_l1_if.cpp b/src/pcu_l1_if.cpp
index bc712fd..da85df4 100644
--- a/src/pcu_l1_if.cpp
+++ b/src/pcu_l1_if.cpp
@@ -650,7 +650,7 @@
rc = pcu_rx_susp_req(&pcu_prim->u.susp_req);
break;
default:
- LOGP(DL1IF, LOGL_ERROR, "Received unknwon PCU msg type %d\n",
+ LOGP(DL1IF, LOGL_ERROR, "Received unknown PCU msg type %d\n",
msg_type);
rc = -EINVAL;
}
diff --git a/src/pdch.cpp b/src/pdch.cpp
index 8003105..7488b96 100644
--- a/src/pdch.cpp
+++ b/src/pdch.cpp
@@ -632,7 +632,7 @@
int8_t tfi = request->ID.u.Global_TFI.u.DOWNLINK_TFI;
dl_tbf = bts()->dl_tbf_by_tfi(tfi, trx_no(), ts_no);
if (!dl_tbf) {
- LOGP(DRLCMAC, LOGL_NOTICE, "PACKET RESSOURCE REQ unknown downlink TFI=%d\n", tfi);
+ LOGP(DRLCMAC, LOGL_NOTICE, "PACKET RESOURCE REQ unknown downlink TFI=%d\n", tfi);
return;
}
LOGPTBFDL(dl_tbf, LOGL_ERROR,
@@ -645,7 +645,7 @@
int8_t tfi = request->ID.u.Global_TFI.u.UPLINK_TFI;
ul_tbf = bts()->ul_tbf_by_tfi(tfi, trx_no(), ts_no);
if (!ul_tbf) {
- LOGP(DRLCMAC, LOGL_NOTICE, "PACKET RESSOURCE REQ unknown uplink TFI=%d\n", tfi);
+ LOGP(DRLCMAC, LOGL_NOTICE, "PACKET RESOURCE REQ unknown uplink TFI=%d\n", tfi);
return;
}
LOGPTBFUL(ul_tbf, LOGL_ERROR,
diff --git a/src/tbf.cpp b/src/tbf.cpp
index a099322..9856c7f 100644
--- a/src/tbf.cpp
+++ b/src/tbf.cpp
@@ -1208,7 +1208,7 @@
if (direction == GPRS_RLCMAC_DL_TBF && !is_control_ts(ts)) {
LOGPTBF(this, LOGL_NOTICE,
- "Cannot poll for downlink assigment, because MS cannot reply. (TS=%d, first common TS=%d)\n",
+ "Cannot poll for downlink assignment, because MS cannot reply. (TS=%d, first common TS=%d)\n",
ts, first_common_ts);
poll_ass_dl = 0;
}
diff --git a/src/tbf.h b/src/tbf.h
index 0a58862..34e8101 100644
--- a/src/tbf.h
+++ b/src/tbf.h
@@ -43,7 +43,7 @@
*/
#define T_ASS_AGCH_USEC 200000 /* waiting after IMM.ASS confirm */
-#define T_ASS_PACCH_SEC 2 /* timeout for pacch assigment */
+#define T_ASS_PACCH_SEC 2 /* timeout for pacch assignment */
#define T_REJ_PACCH_USEC 2000 /* timeout for tbf reject for PRR*/
enum gprs_rlcmac_tbf_state {
--
To view, visit https://gerrit.osmocom.org/c/osmo-pcu/+/14801
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-pcu
Gerrit-Branch: master
Gerrit-Change-Id: I381618eb55cc513cfa9c2e384c27cead0935c8bf
Gerrit-Change-Number: 14801
Gerrit-PatchSet: 2
Gerrit-Owner: Hoernchen <ewild at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge at gnumonks.org>
Gerrit-Reviewer: pespin <pespin at sysmocom.de>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190717/aa6f9177/attachment.html>
More information about the gerrit-log
mailing list