From 6ea3b2832130815808c530491aaa0f06219a02ae Mon Sep 17 00:00:00 2001 From: Pau Espin Pedrol Date: Tue, 25 Feb 2020 18:51:15 +0100 Subject: cosmetic: Fix some typos with codespell Change-Id: I1bbb4871f764816dcbba86d833194be601fa9228 --- src/osmo-bts-litecell15/misc/lc15bts_swd.c | 2 +- src/osmo-bts-oc2g/misc/oc2gbts_swd.c | 2 +- src/osmo-bts-trx/scheduler_trx.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/osmo-bts-litecell15/misc/lc15bts_swd.c b/src/osmo-bts-litecell15/misc/lc15bts_swd.c index 59c7b616..eac64d66 100644 --- a/src/osmo-bts-litecell15/misc/lc15bts_swd.c +++ b/src/osmo-bts-litecell15/misc/lc15bts_swd.c @@ -161,7 +161,7 @@ int lc15bts_swd_init(struct lc15bts_mgr_instance *mgr, int swd_num_events) the value must be in the range of [0,'swd_num_events'[ (see lc15bts_swd_init). For example, if 'swd_num_events' was 64, 'swd_event' events are numbered 0 to 63. WARNING: if this function can be used from multiple threads at the same time, - it must be protected with a kind of mutex to avoid loosing event notification. + it must be protected with a kind of mutex to avoid losing event notification. */ int lc15bts_swd_event(struct lc15bts_mgr_instance *mgr, enum mgr_swd_events swd_event) { diff --git a/src/osmo-bts-oc2g/misc/oc2gbts_swd.c b/src/osmo-bts-oc2g/misc/oc2gbts_swd.c index 59b795ac..1ccef5b9 100644 --- a/src/osmo-bts-oc2g/misc/oc2gbts_swd.c +++ b/src/osmo-bts-oc2g/misc/oc2gbts_swd.c @@ -161,7 +161,7 @@ int oc2gbts_swd_init(struct oc2gbts_mgr_instance *mgr, int swd_num_events) the value must be in the range of [0,'swd_num_events'[ (see oc2gbts_swd_init). For example, if 'swd_num_events' was 64, 'swd_event' events are numbered 0 to 63. WARNING: if this function can be used from multiple threads at the same time, - it must be protected with a kind of mutex to avoid loosing event notification. + it must be protected with a kind of mutex to avoid losing event notification. */ int oc2gbts_swd_event(struct oc2gbts_mgr_instance *mgr, enum mgr_swd_events swd_event) { diff --git a/src/osmo-bts-trx/scheduler_trx.c b/src/osmo-bts-trx/scheduler_trx.c index 5abb73b0..d703f7f1 100644 --- a/src/osmo-bts-trx/scheduler_trx.c +++ b/src/osmo-bts-trx/scheduler_trx.c @@ -956,7 +956,7 @@ int rx_data_fn(struct l1sched_trx *l1t, enum trx_chan_type chan, } /* Copy burst to buffer of 4 bursts. If the burst indication contains - * no data, ensure that the buffer does not stay uninitalized */ + * no data, ensure that the buffer does not stay uninitialized */ burst = *bursts_p + bid * 116; if (bi->burst_len > 0) { memcpy(burst, bi->burst + 3, 58); -- cgit v1.2.3