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/.
laforge gerrit-no-reply at lists.osmocom.orglaforge has submitted this change. ( https://gerrit.osmocom.org/c/libosmo-sccp/+/26248 )
Change subject: spelling fixes in comments
......................................................................
spelling fixes in comments
Change-Id: I4ecd9a1c5241cfd3a3e1daf05f7826876371369f
---
M src/ipa.c
M src/m3ua.c
M src/osmo_ss7.c
M src/sccp_sclc.c
M src/sccp_scoc.c
M src/sccp_scrc.c
6 files changed, 20 insertions(+), 20 deletions(-)
Approvals:
Jenkins Builder: Verified
pespin: Looks good to me, approved
dexter: Looks good to me, approved
diff --git a/src/ipa.c b/src/ipa.c
index 5b1eb54..8daa5e0 100644
--- a/src/ipa.c
+++ b/src/ipa.c
@@ -135,7 +135,7 @@
{
struct osmo_ss7_as *as;
- /* in the IPA case, weassume there is a 1:1 mapping between the
+ /* in the IPA case, we assume there is a 1:1 mapping between the
* ASP and the AS. An AS without ASP means there is no
* connection, and an ASP without AS means that we don't (yet?)
* know the identity of the peer */
@@ -301,7 +301,7 @@
OSMO_ASSERT(asp->cfg.proto == OSMO_SS7_ASP_PROT_IPA);
/* osmo_ipa_process_msg() will already have verified length
- * consistency and set up l2h poiter */
+ * consistency and set up l2h pointer */
hh = (struct ipaccess_head *) msg->l1h;
switch (hh->proto) {
diff --git a/src/m3ua.c b/src/m3ua.c
index 26acc1b..741063c 100644
--- a/src/m3ua.c
+++ b/src/m3ua.c
@@ -449,7 +449,7 @@
}
/***********************************************************************
- * Transmitting M3UA messsages to SCTP
+ * Transmitting M3UA messages to SCTP
***********************************************************************/
/* Convert M3UA from xua_msg to msgb and set PPID/stream */
@@ -512,7 +512,7 @@
}
/***********************************************************************
- * Receiving M3UA messsages from SCTP
+ * Receiving M3UA messages from SCTP
***********************************************************************/
/* obtain the destination point code from a M3UA message in XUA fmt * */
@@ -694,7 +694,7 @@
OSMO_ASSERT(asp->cfg.proto == OSMO_SS7_ASP_PROT_M3UA);
/* caller owns msg memory, we shall neither free it here nor
- * keep references beyond the executin of this function and its
+ * keep references beyond the execution of this function and its
* callees */
xua = xua_from_msg(M3UA_VERSION, msgb_length(msg), msgb_data(msg));
diff --git a/src/osmo_ss7.c b/src/osmo_ss7.c
index 5dd4a26..76fbdbd 100644
--- a/src/osmo_ss7.c
+++ b/src/osmo_ss7.c
@@ -615,7 +615,7 @@
* SS7 Link
***********************************************************************/
-/*! \brief Destryo SS7 Link
+/*! \brief Destroy SS7 Link
* \param[in] link SS7 Link to be destroyed */
void osmo_ss7_link_destroy(struct osmo_ss7_link *link)
{
@@ -999,7 +999,7 @@
* \param[in] inst SS7 Instance on which we operate
* \param[in] name Name of Application Server
* \param[in] proto Protocol of Application Server
- * \returns pointer to Application Server on suuccess; NULL otherwise */
+ * \returns pointer to Application Server on success; NULL otherwise */
struct osmo_ss7_as *
osmo_ss7_as_find_or_create(struct osmo_ss7_instance *inst, const char *name,
enum osmo_ss7_asp_protocol proto)
@@ -1201,7 +1201,7 @@
* \param[in] talloc_ctx talloc context used to allocate new addresses.
* \param[in] hosts Array of strings containing IP addresses.
* \param[in] host_cnt Number of strings in hosts
- * \returns 0 on success; negtive otherwise */
+ * \returns 0 on success; negative otherwise */
int osmo_ss7_asp_peer_set_hosts(struct osmo_ss7_asp_peer *peer, void *talloc_ctx, const char* const* hosts, size_t host_cnt)
{
int i = 0;
@@ -1231,7 +1231,7 @@
}
/*! \brief Append (copy) address to a given ASP peer. Previous addresses are kept.
- * \param[in] peer Application Server Process peer the address is appened to.
+ * \param[in] peer Application Server Process peer the address is appended to.
* \param[in] talloc_ctx talloc context used to allocate new address.
* \param[in] host string containing an IP addresses.
* \returns 0 on success; negative otherwise */
diff --git a/src/sccp_sclc.c b/src/sccp_sclc.c
index 218fb56..186efbd 100644
--- a/src/sccp_sclc.c
+++ b/src/sccp_sclc.c
@@ -36,7 +36,7 @@
* However, all SCCP features can be expressed in SUA.
*
* The code only supports Class 2. No support for Class 3 is intended,
- * but patches are of course alwys welcome.
+ * but patches are of course always welcome.
*
* Missing other features:
* * Segmentation/Reassembly support
@@ -119,7 +119,7 @@
* The caller is required to free oph->msg, otherwise the same as sccp_sclc_user_sap_down().
* \param[in] scu SCCP User who is sending the primitive
* \param[on] oph Osmocom primitive header of the primitive
- * \returns 0 on success; negtive in case of error */
+ * \returns 0 on success; negative in case of error */
int sccp_sclc_user_sap_down_nofree(struct osmo_sccp_user *scu, struct osmo_prim_hdr *oph)
{
struct osmo_scu_prim *prim = (struct osmo_scu_prim *) oph;
@@ -143,7 +143,7 @@
* Implies a msgb_free(oph->msg), otherwise the same as sccp_sclc_user_sap_down_nofree().
* \param[in] scu SCCP User who is sending the primitive
* \param[on] oph Osmocom primitive header of the primitive
- * \returns 0 on success; negtive in case of error */
+ * \returns 0 on success; negative in case of error */
int sccp_sclc_user_sap_down(struct osmo_sccp_user *scu, struct osmo_prim_hdr *oph)
{
struct osmo_scu_prim *prim = (struct osmo_scu_prim *) oph;
diff --git a/src/sccp_scoc.c b/src/sccp_scoc.c
index 244e6d3..5f109b3 100644
--- a/src/sccp_scoc.c
+++ b/src/sccp_scoc.c
@@ -36,7 +36,7 @@
* However, all SCCP features can be expressed in SUA.
*
* The code only supports Class 2. No support for Class 3 is intended,
- * but patches are of course alwys welcome.
+ * but patches are of course always welcome.
*
* Missing other features:
* * Segmentation/Reassembly support
@@ -80,7 +80,7 @@
/* remote point code */
uint32_t remote_pc;
- /* local/remote addresses and identiies */
+ /* local/remote addresses and identities */
struct osmo_sccp_addr calling_addr;
struct osmo_sccp_addr called_addr;
/* SCCP connection identifier. Only relevant across the SCCP User SAP,
@@ -90,7 +90,7 @@
/* SCCP Remote Connection Reference. Allocated by the remote
* SCCP stack to uniquely identify a SCCP connection on its end.
* We don't interpret it, but simply cache it here so we can use
- * it whever sending data to the peer. Only relevant over the
+ * it whenever sending data to the peer. Only relevant over the
* wire, not to be used across the SCCP user SAP */
uint32_t remote_ref;
@@ -1521,7 +1521,7 @@
xua_msg_free(xua);
}
-/* process received message for unasigned local reference */
+/* process received message for unassigned local reference */
static void sccp_scoc_rx_unass_local_ref(struct osmo_sccp_instance *inst,
struct xua_msg *xua)
{
@@ -1631,7 +1631,7 @@
/* we basically try to convert the SUA message into an event,
* and then dispatch the event to the connection-specific FSM.
* If it is a CORE (Connect REquest), we create the connection
- * (and imlpicitly its FSM) first */
+ * (and implicitly its FSM) first */
if (xua->hdr.msg_type == SUA_CO_CORE) {
scu = sccp_find_user(inst, xua);
diff --git a/src/sccp_scrc.c b/src/sccp_scrc.c
index 1da3890..be23c21 100644
--- a/src/sccp_scrc.c
+++ b/src/sccp_scrc.c
@@ -85,7 +85,7 @@
return -1;
}
- /* 2) wrap into MTP-TRANSFER.req primtiive */
+ /* 2) wrap into MTP-TRANSFER.req primitive */
msg->l2h = msg->data;
omp = (struct osmo_mtp_prim *) msgb_push(msg, sizeof(*omp));
osmo_prim_init(&omp->oph, MTP_SAP_USER,
@@ -109,7 +109,7 @@
return osmo_ss7_user_mtp_xfer_req(s7i, omp);
}
-/* Gererate MTP-TRANSFER.req from xUA message */
+/* Generate MTP-TRANSFER.req from xUA message */
static int gen_mtp_transfer_req_xua(struct osmo_sccp_instance *inst,
struct xua_msg *xua,
const struct osmo_sccp_addr *called)
@@ -230,7 +230,7 @@
/* Connection Oriented? */
if (sua_is_connectionless(xua)) {
/* TODO: Perform Capability Test */
- /* TODO: Canges Needed? */
+ /* TODO: Changes Needed? */
if (0) {
/* Changes Needed -> SCLC */
return 0;
--
To view, visit https://gerrit.osmocom.org/c/libosmo-sccp/+/26248
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: libosmo-sccp
Gerrit-Branch: master
Gerrit-Change-Id: I4ecd9a1c5241cfd3a3e1daf05f7826876371369f
Gerrit-Change-Number: 26248
Gerrit-PatchSet: 2
Gerrit-Owner: laforge <laforge at osmocom.org>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: dexter <pmaier at sysmocom.de>
Gerrit-Reviewer: laforge <laforge at osmocom.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/20211115/c95d3643/attachment.htm>