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/.
roox gerrit-no-reply at lists.osmocom.orgroox has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmocom-bb/+/14818 Change subject: Fix common misspellings and typos ...................................................................... Fix common misspellings and typos Change-Id: I75df25d3bc2ecb4985bf6fefdde6e44b21bffed9 --- M src/host/layer23/README M src/host/layer23/include/osmocom/bb/misc/layer3.h M src/host/layer23/src/common/sap_proto.c M src/host/layer23/src/common/sim.c M src/host/layer23/src/misc/app_bcch_scan.c M src/host/layer23/src/misc/app_cbch_sniff.c M src/host/layer23/src/misc/cell_log.c M src/host/layer23/src/mobile/gsm322.c M src/host/layer23/src/mobile/gsm48_mm.c M src/host/layer23/src/mobile/gsm48_rr.c M src/host/layer23/src/mobile/main.c M src/host/layer23/src/mobile/mnccms.c M src/host/virt_phy/src/gsmtapl1_if.c M src/shared/libosmocore/Doxyfile.codec.in M src/shared/libosmocore/Doxyfile.core.in M src/shared/libosmocore/Doxyfile.gsm.in M src/shared/libosmocore/Doxyfile.vty.in M src/shared/libosmocore/doc/vty/example.xml M src/shared/libosmocore/include/osmocom/vty/command.h M src/shared/libosmocore/include/osmocom/vty/vector.h M src/shared/libosmocore/src/gb/gprs_ns.c M src/shared/libosmocore/src/gsm/auth_core.c M src/shared/libosmocore/src/gsm/gsm0411_smr.c M src/shared/libosmocore/src/gsm/gsm48.c M src/shared/libosmocore/src/gsm/lapd_core.c M src/shared/libosmocore/src/gsm/lapdm.c M src/shared/libosmocore/src/logging.c M src/shared/libosmocore/src/talloc.c M src/shared/libosmocore/src/utils.c M src/shared/libosmocore/src/vty/command.c M src/target/firmware/apps/rssi/main.c M src/target/firmware/apps/simtest/main.c M src/target/firmware/calypso/sim.c M src/target/firmware/comm/sercomm.c M src/target/firmware/fb/fb_s6b33b1x.c M src/target/firmware/include/fb/fb_bw8.h M src/target/firmware/layer1/prim_fbsb.c M src/target/firmware/layer1/prim_tch.c M src/target/firmware/layer1/sync.c M src/target/firmware/rf/trf6151.c M src/target/trx_toolkit/data_dump.py 41 files changed, 62 insertions(+), 62 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmocom-bb refs/changes/18/14818/1 diff --git a/src/host/layer23/README b/src/host/layer23/README index dd59823..c52e7bc 100644 --- a/src/host/layer23/README +++ b/src/host/layer23/README @@ -30,7 +30,7 @@ RSL header (struct abis_rsl_common_hdr). There are utility functions like rslms_tx_rll_req() and rslms_tx_rsll_req_l3() -for creating msgb's with the apropriate RSL/RLL headers. +for creating msgb's with the appropriate RSL/RLL headers. === LAPDm === diff --git a/src/host/layer23/include/osmocom/bb/misc/layer3.h b/src/host/layer23/include/osmocom/bb/misc/layer3.h index bbf242d..ffafe76 100644 --- a/src/host/layer23/include/osmocom/bb/misc/layer3.h +++ b/src/host/layer23/include/osmocom/bb/misc/layer3.h @@ -11,7 +11,7 @@ /* Initialize layer3 for the MS, hook it to L2 */ int layer3_init(struct osmocom_ms *ms); -/* Reset the 'aplication' state */ +/* Reset the 'application' state */ void layer3_app_reset(void); #endif diff --git a/src/host/layer23/src/common/sap_proto.c b/src/host/layer23/src/common/sap_proto.c index c3d202f..ecacfe0 100644 --- a/src/host/layer23/src/common/sap_proto.c +++ b/src/host/layer23/src/common/sap_proto.c @@ -177,7 +177,7 @@ * \param[in] sap_msg pointer to SAP message header * \param[in] param_type parameter type (see sap_param_type enum) * \param[out] param_len parameter length (if found) - * \returns pointer to a given parameter withing the message, NULL otherwise + * \returns pointer to a given parameter within the message, NULL otherwise */ struct sap_param *sap_get_param(const struct sap_message *sap_msg, enum sap_param_type param_type, uint16_t *param_len) diff --git a/src/host/layer23/src/common/sim.c b/src/host/layer23/src/common/sim.c index ed7f54a..1e2bc51 100644 --- a/src/host/layer23/src/common/sim.c +++ b/src/host/layer23/src/common/sim.c @@ -1132,7 +1132,7 @@ case SIM_JOB_INCREASE: if (length != 4) { LOGP(DSIM, LOGL_ERROR, "expecting uint32_t as " - "value lenght, but got %d bytes\n", + "value length, but got %d bytes\n", length); goto request_error; } diff --git a/src/host/layer23/src/misc/app_bcch_scan.c b/src/host/layer23/src/misc/app_bcch_scan.c index 22e6f1b..5818530 100644 --- a/src/host/layer23/src/misc/app_bcch_scan.c +++ b/src/host/layer23/src/misc/app_bcch_scan.c @@ -53,7 +53,7 @@ int l23_app_init(struct osmocom_ms *ms) { - /* don't do layer3_init() as we don't want an actualy L3 */ + /* don't do layer3_init() as we don't want an actually L3 */ fps_init(); l1ctl_tx_reset_req(ms, L1CTL_RES_T_FULL); return osmo_signal_register_handler(SS_L1CTL, &signal_cb, NULL); diff --git a/src/host/layer23/src/misc/app_cbch_sniff.c b/src/host/layer23/src/misc/app_cbch_sniff.c index 8256eaf..ac222f7 100644 --- a/src/host/layer23/src/misc/app_cbch_sniff.c +++ b/src/host/layer23/src/misc/app_cbch_sniff.c @@ -179,7 +179,7 @@ int l23_app_init(struct osmocom_ms *ms) { - /* don't do layer3_init() as we don't want an actualy L3 */ + /* don't do layer3_init() as we don't want an actually L3 */ g_ms = ms; lapdm_channel_set_l3(&ms->lapdm_channel, &rcv_rsl, ms); diff --git a/src/host/layer23/src/misc/cell_log.c b/src/host/layer23/src/misc/cell_log.c index 7340dcb..9edd742 100644 --- a/src/host/layer23/src/misc/cell_log.c +++ b/src/host/layer23/src/misc/cell_log.c @@ -438,7 +438,7 @@ return 0; } -/* match request reference agains request */ +/* match request reference against request */ static int match_ra(struct osmocom_ms *ms, struct gsm48_req_ref *ref) { uint8_t ia_t1, ia_t2, ia_t3; diff --git a/src/host/layer23/src/mobile/gsm322.c b/src/host/layer23/src/mobile/gsm322.c index cfd70d8..fcb7edf 100644 --- a/src/host/layer23/src/mobile/gsm322.c +++ b/src/host/layer23/src/mobile/gsm322.c @@ -156,7 +156,7 @@ * * * subscr->plmn_list * - * The "PLMN Selector list" stores prefered networks to select during PLMN + * The "PLMN Selector list" stores preferred networks to select during PLMN * search process. This list is also stored in the SIM. * * * subscr->plmn_na @@ -201,7 +201,7 @@ * the BCCH data after 5 minutes. This timer is also used if sync or read * fails. * - * The C1 and C2 criterion is calculated for the currently monitored neigbour + * The C1 and C2 criterion is calculated for the currently monitored neighbour * cells. During this process, a better neighbour cell will trigger cell * re-selection. * @@ -427,14 +427,14 @@ return c2; } - /* penatly time reached */ + /* penalty time reached */ if (t >= (penalty_time + 1) * 20) { LOGP(DNB, LOGL_INFO, "C2 = C1 + CELL_RESELECT_OFFSET (%d) = %d " "(PENALTY_TIME reached)\n", cell_resel_off, c2); return c2; } - /* penalty time not reached, substract temporary offset */ + /* penalty time not reached, subtract temporary offset */ if (temp_offset < 7) c2 -= temp_offset * 10; else @@ -1865,7 +1865,7 @@ continue; } - /* check C1 criteria not fullfilled */ + /* check C1 criteria not fulfilled */ // TODO: class 3 DCS mobile gsm_arfcn2band_rc(index2arfcn(i), &band); class = class_of_band(ms, band); @@ -3490,7 +3490,7 @@ if (lower == higher) break; lower++; - /* wrap arround, only if not PCS */ + /* wrap around, only if not PCS */ if (lower == 1024) lower = 0; } @@ -4523,7 +4523,7 @@ if (!changed && cs->nb_meas_set) return 0; - /* start neigbour cell measurement task */ + /* start neighbour cell measurement task */ num = 0; llist_for_each_entry(nb, &cs->nb_list, entry) { if (nb->state == GSM322_NB_NOT_SUP) diff --git a/src/host/layer23/src/mobile/gsm48_mm.c b/src/host/layer23/src/mobile/gsm48_mm.c index 872dce5..fc87f12 100644 --- a/src/host/layer23/src/mobile/gsm48_mm.c +++ b/src/host/layer23/src/mobile/gsm48_mm.c @@ -193,7 +193,7 @@ * * * gsm48_mm_set_plmn_search() is used enter PLMN SEARCH or PLMN SEARCH NORMAL - * state. Depending on the conditions above, the appropiate state is selected. + * state. Depending on the conditions above, the appropriate state is selected. * * * gsm48_mm_return_idle() is used to select the Service state when returning @@ -1006,7 +1006,7 @@ if (s->t3212) /* still required? */ gsm48_mm_loc_upd_periodic(ms, NULL); else - LOGP(DMM, LOGL_INFO, "but not requred\n"); + LOGP(DMM, LOGL_INFO, "but not required\n"); /* must exit, because this function can be called * recursively */ @@ -2938,7 +2938,7 @@ /* release MM connection(s) */ gsm48_mm_release_mm_conn(ms, abort_any, 16, 0, 0); - /* state depends on the existance of remaining MM connections */ + /* state depends on the existence of remaining MM connections */ if (llist_empty(&mm->mm_conn)) new_mm_state(mm, GSM48_MM_ST_WAIT_NETWORK_CMD, 0); else @@ -3395,7 +3395,7 @@ /* release pending connection */ gsm48_mm_release_mm_conn(ms, 0, 102, 0, 0); - /* state depends on the existance of remaining MM connections */ + /* state depends on the existence of remaining MM connections */ if (llist_empty(&mm->mm_conn)) { /* start RR release timer */ start_mm_t3240(mm); @@ -3470,7 +3470,7 @@ if (conn) mm_conn_free(conn); - /* state depends on the existance of remaining MM connections */ + /* state depends on the existence of remaining MM connections */ if (llist_empty(&mm->mm_conn)) { /* start RR release timer */ start_mm_t3240(mm); @@ -4059,7 +4059,7 @@ msgb_free(msg); return 0; } - break; /* follow the selection proceedure below */ + break; /* follow the selection procedure below */ case GSM48_PDISC_CC: rc = gsm48_rcv_cc(ms, msg); diff --git a/src/host/layer23/src/mobile/gsm48_rr.c b/src/host/layer23/src/mobile/gsm48_rr.c index a94fc99..3e0c992 100644 --- a/src/host/layer23/src/mobile/gsm48_rr.c +++ b/src/host/layer23/src/mobile/gsm48_rr.c @@ -2077,7 +2077,7 @@ RR_EST_CAUSE_ANS_PAG_TCH_ANY }; -/* given LV of mobile identity is checked agains ms */ +/* given LV of mobile identity is checked against ms */ static uint8_t gsm_match_mi(struct osmocom_ms *ms, uint8_t *mi) { struct gsm322_cellsel *cs = &ms->cellsel; @@ -2305,7 +2305,7 @@ } else LOGP(DPAG, LOGL_INFO, " TMSI %08x (not for us)\n", ntohl(pa->tmsi2)); - /* thrid MI */ + /* third MI */ if (ms->subscr.tmsi == ntohl(pa->tmsi3) && ms->subscr.mcc == cs->sel_mcc && ms->subscr.mnc == cs->sel_mnc @@ -2335,7 +2335,7 @@ * (immediate) assignment */ -/* match request reference agains request history */ +/* match request reference against request history */ static int gsm48_match_ra(struct osmocom_ms *ms, struct gsm48_req_ref *ref) { struct gsm48_rrlayer *rr = &ms->rrlayer; @@ -3054,7 +3054,7 @@ LOGP(DRR, LOGL_INFO, "using cell channel descr.\n"); if (cd->cell_desc_lv[0] != 16) { LOGP(DRR, LOGL_ERROR, "cell channel descr. " - "has invalid lenght\n"); + "has invalid length\n"); return GSM48_RR_CAUSE_ABNORMAL_UNSPEC; } gsm48_decode_freq_list(freq, cd->cell_desc_lv + 1, 16, diff --git a/src/host/layer23/src/mobile/main.c b/src/host/layer23/src/mobile/main.c index 9764b33..3002a94 100644 --- a/src/host/layer23/src/mobile/main.c +++ b/src/host/layer23/src/mobile/main.c @@ -166,7 +166,7 @@ /* The first signal causes initiating of shutdown with detach * procedure. The second signal causes initiating of shutdown * without detach procedure. The third signal will exit process - * immidiately. (in case it hangs) + * immediately. (in case it hangs) */ if (count_int == 0) { fprintf(stderr, "Performing shutdown with clean " diff --git a/src/host/layer23/src/mobile/mnccms.c b/src/host/layer23/src/mobile/mnccms.c index 2243291..9a37b97 100644 --- a/src/host/layer23/src/mobile/mnccms.c +++ b/src/host/layer23/src/mobile/mnccms.c @@ -153,7 +153,7 @@ mncc->bearer_cap.speech_ctm = 0; /* if no specific speech_ver is given */ if (speech_ver < 0) { - /* if half rate is supported and prefered */ + /* if half rate is supported and preferred */ if (set->half_v3 && set->half && set->half_prefer) { mncc->bearer_cap.speech_ver[i++] = 5; LOGP(DMNCC, LOGL_INFO, " support half rate v3\n"); @@ -175,7 +175,7 @@ mncc->bearer_cap.speech_ver[i++] = 0; LOGP(DMNCC, LOGL_INFO, " support full rate v1\n"); } - /* if half rate is supported and not prefered */ + /* if half rate is supported and not preferred */ if (set->half_v3 && set->half && !set->half_prefer) { mncc->bearer_cap.speech_ver[i++] = 5; LOGP(DMNCC, LOGL_INFO, " support half rate v3\n"); @@ -331,7 +331,7 @@ vty_notify(ms, "Call: Remote out of order\n"); break; case GSM48_CC_CAUSE_INV_NR_FORMAT: - vty_notify(ms, "Call: Number invalid or imcomplete\n"); + vty_notify(ms, "Call: Number invalid or incomplete\n"); break; case GSM48_CC_CAUSE_NO_CIRCUIT_CHAN: vty_notify(ms, "Call: No channel available\n"); diff --git a/src/host/virt_phy/src/gsmtapl1_if.c b/src/host/virt_phy/src/gsmtapl1_if.c index 2cf9d2d..2b21c6d 100644 --- a/src/host/virt_phy/src/gsmtapl1_if.c +++ b/src/host/virt_phy/src/gsmtapl1_if.c @@ -135,7 +135,7 @@ return true; break; case 1: /* RLC/MAC Control without optional octets */ - /* forward all RLC/MAC control blocks without optional octets, i.e. not adressed + /* forward all RLC/MAC control blocks without optional octets, i.e. not addressed * to a specific TFI */ return true; case 2: /* RLC/MAC with optional control octets */ diff --git a/src/shared/libosmocore/Doxyfile.codec.in b/src/shared/libosmocore/Doxyfile.codec.in index fcd5122..07f3fe7 100644 --- a/src/shared/libosmocore/Doxyfile.codec.in +++ b/src/shared/libosmocore/Doxyfile.codec.in @@ -831,7 +831,7 @@ # standard header. Note that when using a custom header you are responsible # for the proper inclusion of any scripts and style sheets that doxygen # needs, which is dependent on the configuration options used. -# It is adviced to generate a default header using "doxygen -w html +# It is advised to generate a default header using "doxygen -w html # header.html footer.html stylesheet.css YourConfigFile" and then modify # that header. Note that the header is subject to change so you typically # have to redo this when upgrading to a newer version of doxygen or when changing the value of configuration settings such as GENERATE_TREEVIEW! diff --git a/src/shared/libosmocore/Doxyfile.core.in b/src/shared/libosmocore/Doxyfile.core.in index 18eb226..581baa0 100644 --- a/src/shared/libosmocore/Doxyfile.core.in +++ b/src/shared/libosmocore/Doxyfile.core.in @@ -831,7 +831,7 @@ # standard header. Note that when using a custom header you are responsible # for the proper inclusion of any scripts and style sheets that doxygen # needs, which is dependent on the configuration options used. -# It is adviced to generate a default header using "doxygen -w html +# It is advised to generate a default header using "doxygen -w html # header.html footer.html stylesheet.css YourConfigFile" and then modify # that header. Note that the header is subject to change so you typically # have to redo this when upgrading to a newer version of doxygen or when changing the value of configuration settings such as GENERATE_TREEVIEW! diff --git a/src/shared/libosmocore/Doxyfile.gsm.in b/src/shared/libosmocore/Doxyfile.gsm.in index ab25b22..20b4654 100644 --- a/src/shared/libosmocore/Doxyfile.gsm.in +++ b/src/shared/libosmocore/Doxyfile.gsm.in @@ -831,7 +831,7 @@ # standard header. Note that when using a custom header you are responsible # for the proper inclusion of any scripts and style sheets that doxygen # needs, which is dependent on the configuration options used. -# It is adviced to generate a default header using "doxygen -w html +# It is advised to generate a default header using "doxygen -w html # header.html footer.html stylesheet.css YourConfigFile" and then modify # that header. Note that the header is subject to change so you typically # have to redo this when upgrading to a newer version of doxygen or when changing the value of configuration settings such as GENERATE_TREEVIEW! diff --git a/src/shared/libosmocore/Doxyfile.vty.in b/src/shared/libosmocore/Doxyfile.vty.in index 57f19ad..a6bc357 100644 --- a/src/shared/libosmocore/Doxyfile.vty.in +++ b/src/shared/libosmocore/Doxyfile.vty.in @@ -831,7 +831,7 @@ # standard header. Note that when using a custom header you are responsible # for the proper inclusion of any scripts and style sheets that doxygen # needs, which is dependent on the configuration options used. -# It is adviced to generate a default header using "doxygen -w html +# It is advised to generate a default header using "doxygen -w html # header.html footer.html stylesheet.css YourConfigFile" and then modify # that header. Note that the header is subject to change so you typically # have to redo this when upgrading to a newer version of doxygen or when changing the value of configuration settings such as GENERATE_TREEVIEW! diff --git a/src/shared/libosmocore/doc/vty/example.xml b/src/shared/libosmocore/doc/vty/example.xml index 400c634..fdb5080 100644 --- a/src/shared/libosmocore/doc/vty/example.xml +++ b/src/shared/libosmocore/doc/vty/example.xml @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <vtydoc xmlns="urn:osmocom:xml:libosmocore:vty:doc:1.0"> - <!-- test a nested hierachy --> + <!-- test a nested hierarchy --> <node id="mgcp" name="MGCP Node"> <!-- define a command --> <command id="foo_cmd"> diff --git a/src/shared/libosmocore/include/osmocom/vty/command.h b/src/shared/libosmocore/include/osmocom/vty/command.h index 8fbb482..baf53ae 100644 --- a/src/shared/libosmocore/include/osmocom/vty/command.h +++ b/src/shared/libosmocore/include/osmocom/vty/command.h @@ -299,7 +299,7 @@ #define IN_STR "Filter incoming routing updates\n" #define V4NOTATION_STR "specify by IPv4 address notation(e.g. 0.0.0.0)\n" #define OSPF6_NUMBER_STR "Specify by number\n" -#define INTERFACE_STR "Interface infomation\n" +#define INTERFACE_STR "Interface information\n" #define IFNAME_STR "Interface name(e.g. ep0)\n" #define IP6_STR "IPv6 Information\n" #define OSPF6_STR "Open Shortest Path First (OSPF) for IPv6\n" diff --git a/src/shared/libosmocore/include/osmocom/vty/vector.h b/src/shared/libosmocore/include/osmocom/vty/vector.h index 22a184d..48e32fb 100644 --- a/src/shared/libosmocore/include/osmocom/vty/vector.h +++ b/src/shared/libosmocore/include/osmocom/vty/vector.h @@ -33,7 +33,7 @@ #define VECTOR_MIN_SIZE 1 -/* (Sometimes) usefull macros. This macro convert index expression to +/* (Sometimes) useful macros. This macro convert index expression to array expression. */ /* Reference slot at given index, caller must ensure slot is active */ #define vector_slot(V,I) ((V)->index[(I)]) diff --git a/src/shared/libosmocore/src/gb/gprs_ns.c b/src/shared/libosmocore/src/gb/gprs_ns.c index cdcf36e..e3b664c 100644 --- a/src/shared/libosmocore/src/gb/gprs_ns.c +++ b/src/shared/libosmocore/src/gb/gprs_ns.c @@ -32,7 +32,7 @@ * * Some introduction into NS: NS is used typically on top of frame relay, * but in the ip.access world it is encapsulated in UDP packets. It serves - * as an intermediate shim betwen BSSGP and the underlying medium. It doesn't + * as an intermediate shim between BSSGP and the underlying medium. It doesn't * do much, apart from providing congestion notification and status indication. * * Terms: @@ -910,7 +910,7 @@ nsi->timeout[NS_TOUT_TNS_ALIVE_RETRIES] = 10; /* Create the dummy NSVC that we use for sending - * messages to non-existant/unknown NS-VC's */ + * messages to non-existent/unknown NS-VC's */ nsi->unknown_nsvc = gprs_nsvc_create(nsi, 0xfffe); llist_del(&nsi->unknown_nsvc->list); diff --git a/src/shared/libosmocore/src/gsm/auth_core.c b/src/shared/libosmocore/src/gsm/auth_core.c index 5cf8dfc..0f790b7 100644 --- a/src/shared/libosmocore/src/gsm/auth_core.c +++ b/src/shared/libosmocore/src/gsm/auth_core.c @@ -132,7 +132,7 @@ * based on the permanent subscriber data, a random value as well as the * AUTS and RAND values returned by the SIM/MS. This special variant is * needed if the sequence numbers between MS and AUC have for some - * reason become diffrent. + * reason become different. */ int osmo_auth_gen_vec_auts(struct osmo_auth_vector *vec, struct osmo_sub_auth_data *aud, diff --git a/src/shared/libosmocore/src/gsm/gsm0411_smr.c b/src/shared/libosmocore/src/gsm/gsm0411_smr.c index 7dd8f72..41a2e23 100644 --- a/src/shared/libosmocore/src/gsm/gsm0411_smr.c +++ b/src/shared/libosmocore/src/gsm/gsm0411_smr.c @@ -117,7 +117,7 @@ { GSM411_RP_CAUSE_INV_TRANS_REF, "Invalid Transaction Reference" }, { GSM411_RP_CAUSE_SEMANT_INC_MSG, "Semantically Incorrect Message" }, { GSM411_RP_CAUSE_INV_MAND_INF, "Invalid Mandatory Information" }, - { GSM411_RP_CAUSE_MSGTYPE_NOTEXIST, "Message Type non-existant" }, + { GSM411_RP_CAUSE_MSGTYPE_NOTEXIST, "Message Type non-existent" }, { GSM411_RP_CAUSE_MSG_INCOMP_STATE, "Message incompatible with protocol state" }, { GSM411_RP_CAUSE_IE_NOTEXIST, "Information Element not existing" }, { GSM411_RP_CAUSE_PROTOCOL_ERR, "Protocol Error" }, diff --git a/src/shared/libosmocore/src/gsm/gsm48.c b/src/shared/libosmocore/src/gsm/gsm48.c index ea05d45..6dbb990 100644 --- a/src/shared/libosmocore/src/gsm/gsm48.c +++ b/src/shared/libosmocore/src/gsm/gsm48.c @@ -152,7 +152,7 @@ { GSM48_RR_CAUSE_CALL_CLEARED, "Call already cleared" }, { GSM48_RR_CAUSE_SEMANT_INCORR, "Semantically incorrect message" }, { GSM48_RR_CAUSE_INVALID_MAND_INF, "Invalid mandatory information" }, - { GSM48_RR_CAUSE_MSG_TYPE_N, "Message type non-existant or not implemented" }, + { GSM48_RR_CAUSE_MSG_TYPE_N, "Message type non-existent or not implemented" }, { GSM48_RR_CAUSE_MSG_TYPE_N_COMPAT, "Message type not compatible with protocol state" }, { GSM48_RR_CAUSE_COND_IE_ERROR, "Conditional IE error" }, { GSM48_RR_CAUSE_NO_CELL_ALLOC_A, "No cell allocation available" }, diff --git a/src/shared/libosmocore/src/gsm/lapd_core.c b/src/shared/libosmocore/src/gsm/lapd_core.c index 96099ed..651271e 100644 --- a/src/shared/libosmocore/src/gsm/lapd_core.c +++ b/src/shared/libosmocore/src/gsm/lapd_core.c @@ -833,7 +833,7 @@ #endif if (memcmp(dl->cont_res, msg->data, length)) { LOGP(DLLAPD, LOGL_INFO, "Another SABM " - "with diffrent content - " + "with different content - " "ignoring!\n"); msgb_free(msg); return 0; @@ -1037,7 +1037,7 @@ * parameters" is sent to the mobile management entity. */ LOGP(DLLAPD, LOGL_NOTICE, - "U frame iwth incorrect parameters "); + "U frame with incorrect parameters "); msgb_free(msg); mdl_error(MDL_CAUSE_UFRM_INC_PARAM, lctx); return -EIO; @@ -1216,7 +1216,7 @@ if (lctx->cr == dl->cr.rem2loc.resp && lctx->p_f && dl->state != LAPD_STATE_TIMER_RECOV) { - /* 5.4.2.2: Inidcate error on supervisory reponse F=1 */ + /* 5.4.2.2: Inidcate error on supervisory response F=1 */ LOGP(DLLAPD, LOGL_NOTICE, "S frame response with F=1 error\n"); mdl_error(MDL_CAUSE_UNSOL_SPRV_RESP, lctx); } diff --git a/src/shared/libosmocore/src/gsm/lapdm.c b/src/shared/libosmocore/src/gsm/lapdm.c index 1c08113..b244855 100644 --- a/src/shared/libosmocore/src/gsm/lapdm.c +++ b/src/shared/libosmocore/src/gsm/lapdm.c @@ -570,7 +570,7 @@ rsl_rll_error(RLL_CAUSE_FRM_UNIMPL, &mctx); return -EINVAL; } - /* adress field */ + /* address field */ lctx.lpd = LAPDm_ADDR_LPD(msg->l2h[0]); lctx.sapi = LAPDm_ADDR_SAPI(msg->l2h[0]); lctx.cr = LAPDm_ADDR_CR(msg->l2h[0]); diff --git a/src/shared/libosmocore/src/logging.c b/src/shared/libosmocore/src/logging.c index f58265f..447515d 100644 --- a/src/shared/libosmocore/src/logging.c +++ b/src/shared/libosmocore/src/logging.c @@ -113,7 +113,7 @@ "Log simply everything", "Log debug messages and higher levels", "Log informational messages and higher levels", - "Log noticable messages and higher levels", + "Log noticeable messages and higher levels", "Log error messages and higher levels", "Log only fatal messages", NULL, diff --git a/src/shared/libosmocore/src/talloc.c b/src/shared/libosmocore/src/talloc.c index d3a0690..fdeda40 100644 --- a/src/shared/libosmocore/src/talloc.c +++ b/src/shared/libosmocore/src/talloc.c @@ -701,7 +701,7 @@ /* remove a specific parent context from a pointer. This is a more - controlled varient of talloc_free() + controlled variant of talloc_free() */ int talloc_unlink(const void *context, void *ptr) { diff --git a/src/shared/libosmocore/src/utils.c b/src/shared/libosmocore/src/utils.c index cf0c934..7c05879 100644 --- a/src/shared/libosmocore/src/utils.c +++ b/src/shared/libosmocore/src/utils.c @@ -37,7 +37,7 @@ /*! \brief get numeric value for given human-readable string * \param[in] vs Array of value_string tuples * \param[in] str human-readable string - * \returns numeric value (>0) or negative numer in case of error + * \returns numeric value (>0) or negative number in case of error */ int get_string_value(const struct value_string *vs, const char *str) { diff --git a/src/shared/libosmocore/src/vty/command.c b/src/shared/libosmocore/src/vty/command.c index 7f83a5e..6938f45 100644 --- a/src/shared/libosmocore/src/vty/command.c +++ b/src/shared/libosmocore/src/vty/command.c @@ -1790,7 +1790,7 @@ } else index = vector_active(vline) - 1; - /* First, filter by preceeding command string */ + /* First, filter by preceding command string */ for (i = 0; i < index; i++) if ((command = vector_slot(vline, i))) { enum match_type match; diff --git a/src/target/firmware/apps/rssi/main.c b/src/target/firmware/apps/rssi/main.c index 5020486..e137806 100644 --- a/src/target/firmware/apps/rssi/main.c +++ b/src/target/firmware/apps/rssi/main.c @@ -1260,7 +1260,7 @@ /* Main Program */ const char *hr = "======================================================================\n"; -/* match request reference agains request history */ +/* match request reference against request history */ static int gsm48_match_ra(struct gsm48_req_ref *ref) { uint8_t ia_t1, ia_t2, ia_t3; diff --git a/src/target/firmware/apps/simtest/main.c b/src/target/firmware/apps/simtest/main.c index e20c52a..6c021db 100755 --- a/src/target/firmware/apps/simtest/main.c +++ b/src/target/firmware/apps/simtest/main.c @@ -214,7 +214,7 @@ uint8_t testDataBody[257]; uint8_t testStatusWord[2]; - int recivedChars; + int receivedChars; int i; uint8_t atr[20]; diff --git a/src/target/firmware/calypso/sim.c b/src/target/firmware/calypso/sim.c index 752628f..dc5885c 100644 --- a/src/target/firmware/calypso/sim.c +++ b/src/target/firmware/calypso/sim.c @@ -58,7 +58,7 @@ #define L3_MSG_HEAD 4 static uint8_t sim_data[256]; /* buffer for SIM command */ -static volatile uint16_t sim_len = 0; /* lenght of data in sim_data[] */ +static volatile uint16_t sim_len = 0; /* length of data in sim_data[] */ static volatile uint8_t sim_state = SIM_STATE_IDLE; /* current state of SIM process */ static volatile uint8_t sim_ignore_waiting_char = 0; diff --git a/src/target/firmware/comm/sercomm.c b/src/target/firmware/comm/sercomm.c index 490e225..cebd37d 100644 --- a/src/target/firmware/comm/sercomm.c +++ b/src/target/firmware/comm/sercomm.c @@ -182,7 +182,7 @@ sercomm_unlock(&flags); return 1; } else { - /* no more data avilable */ + /* no more data available */ sercomm_unlock(&flags); return 0; } diff --git a/src/target/firmware/fb/fb_s6b33b1x.c b/src/target/firmware/fb/fb_s6b33b1x.c index 788ada7..e36c547 100644 --- a/src/target/firmware/fb/fb_s6b33b1x.c +++ b/src/target/firmware/fb/fb_s6b33b1x.c @@ -72,7 +72,7 @@ { DATA, 0x0a }, /* DATA: fPCK = fOSC/6 */ { CMD, 0x2a }, /* CMD Contrast Control */ { DATA, 0x2d }, /* DATA: default contrast */ - { CMD, 0x30 }, /* CMD Adressing mode set */ + { CMD, 0x30 }, /* CMD Addressing mode set */ { DATA, 0x0b }, /* DATA: 65536 color mode */ { CMD, 0x10 }, /* CMD Driver output mode set */ { DATA, 0x03 }, /* DATA: Display duty: 1/132 */ diff --git a/src/target/firmware/include/fb/fb_bw8.h b/src/target/firmware/include/fb/fb_bw8.h index c77fa71..d84f91a 100644 --- a/src/target/firmware/include/fb/fb_bw8.h +++ b/src/target/firmware/include/fb/fb_bw8.h @@ -3,7 +3,7 @@ /* 8bit monochrome framebuffer, organized with 8 stacked pixels per byte, backed by local memory. fb_bw8.c lists functions that - are common to simmilar organized displays. */ + are common to similar organized displays. */ /* Sketch of Memory Layout diff --git a/src/target/firmware/layer1/prim_fbsb.c b/src/target/firmware/layer1/prim_fbsb.c index 50acefc..b4c1c1f 100644 --- a/src/target/firmware/layer1/prim_fbsb.c +++ b/src/target/firmware/layer1/prim_fbsb.c @@ -234,7 +234,7 @@ synchronize_tdma(&l1s.serving_cell); - /* if we have recived a SYNC burst, update our local GSM time */ + /* if we have received a SYNC burst, update our local GSM time */ gsm_fn2gsmtime(&l1s.current_time, fbs.mon.time.fn + SB2_LATENCY); /* compute next time from new current time */ l1s.next_time = l1s.current_time; diff --git a/src/target/firmware/layer1/prim_tch.c b/src/target/firmware/layer1/prim_tch.c index a8036d2..0254654 100644 --- a/src/target/firmware/layer1/prim_tch.c +++ b/src/target/firmware/layer1/prim_tch.c @@ -607,7 +607,7 @@ * ------------------------------------------------------------------------- */ /* - * SACCH data are spread over 4 bursts, however they are so far appart that + * SACCH data are spread over 4 bursts, however they are so far apart that * we can't use the normal scheduler to schedule all them at once in a single * set. * Therefore, the task code itself decides in which burst it is, if it's the diff --git a/src/target/firmware/layer1/sync.c b/src/target/firmware/layer1/sync.c index 36f4297..b1eedd0 100644 --- a/src/target/firmware/layer1/sync.c +++ b/src/target/firmware/layer1/sync.c @@ -168,7 +168,7 @@ dsp_api.ndb->d_dsp_page = 0; /* we have to really reset the TPU, otherwise FB detection - * somtimes returns wrong TOA values. */ + * sometimes returns wrong TOA values. */ tpu_reset(1); tpu_reset(0); tpu_rewind(); diff --git a/src/target/firmware/rf/trf6151.c b/src/target/firmware/rf/trf6151.c index 9de2cc8..6457e03 100644 --- a/src/target/firmware/rf/trf6151.c +++ b/src/target/firmware/rf/trf6151.c @@ -300,7 +300,7 @@ /* Low band. We have 3 possible PLL modes that output on * the right port: GSM900, GSM850_HIGH, GSM850_LOW. * - * The transistion points have been chosen looking at the VCO + * The transition points have been chosen looking at the VCO * and IF frequencies for various frequencies for theses modes */ if (freq_khz < 837100) { diff --git a/src/target/trx_toolkit/data_dump.py b/src/target/trx_toolkit/data_dump.py index 97518bd..11cd866 100644 --- a/src/target/trx_toolkit/data_dump.py +++ b/src/target/trx_toolkit/data_dump.py @@ -94,7 +94,7 @@ # True in case of success, # or False in case of EOF or header parsing error. def _seek2msg(self, idx): - # Seek to the begining of the capture + # Seek to the beginning of the capture self.f.seek(0) # Read the capture in loop... @@ -161,7 +161,7 @@ # or None in case of EOF or header parsing error, # or False in case of message parsing error or out of range. def parse_msg(self, idx): - # Move descriptor to the begining of requested message + # Move descriptor to the beginning of requested message rc = self._seek2msg(idx) if not rc: log.error("Couldn't find requested message") @@ -179,7 +179,7 @@ # Should we skip some messages? if skip is None: - # Seek to the begining of the capture + # Seek to the beginning of the capture self.f.seek(0) else: rc = self._seek2msg(skip) -- To view, visit https://gerrit.osmocom.org/c/osmocom-bb/+/14818 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmocom-bb Gerrit-Branch: master Gerrit-Change-Id: I75df25d3bc2ecb4985bf6fefdde6e44b21bffed9 Gerrit-Change-Number: 14818 Gerrit-PatchSet: 1 Gerrit-Owner: roox <mardnh at gmx.de> Gerrit-MessageType: newchange -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190717/11d00e78/attachment.htm>