Skip to content

Commit 06d7835

Browse files
dbkindernashif
authored andcommitted
doc: regular misspelling scan
Fix misspellings in documentation (.rst, Kconfig help text, and .h doxygen API comments), missed during regular reviews. Signed-off-by: David B. Kinder <[email protected]>
1 parent bb7d826 commit 06d7835

File tree

14 files changed

+26
-26
lines changed

14 files changed

+26
-26
lines changed

arch/arm/core/cortex_m/mpu/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ config ARM_MPU_REGION_MIN_ALIGN_AND_SIZE
2525
help
2626
Minimum size (and alignment) of an ARM MPU region. Use this
2727
symbol to guarantee minimum size and alignment of MPU regions.
28-
A minimum 4-byte alignmnent is enforced in ARM builds without
28+
A minimum 4-byte alignment is enforced in ARM builds without
2929
support for Memory Protection.
3030

3131
config MPU_STACK_GUARD

boards/arm/efr32mg_sltb004a/doc/efr32mg_sltb004a.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ Hardware
3838
network debugging
3939
- Breakout pads for GPIO access and connection to external hardware
4040
- Reset button
41-
- Automatic switchover between USB and battery power
41+
- Automatic switch-over between USB and battery power
4242
- CR2032 coin cell holder and external battery connector
4343

4444
For more information about the EFR32MG SoC and Thunderboard Sense 2

boards/arm/stm32f769i_disco/doc/stm32f769i_disco.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ The STM32F769I Discovery kit provides the following hardware components:
8585
- 8- to 14-bit camera interface up to 54 Mbyte/s
8686
- True random number generator
8787
- CRC calculation unit
88-
- RTC: subsecond accuracy, hardware calendar
88+
- RTC: sub-second accuracy, hardware calendar
8989
- 96-bit unique ID
9090

9191
More information about STM32F769NIH6 can be found here:

doc/subsystems/networking/secure-sockets.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ The following TLS credential types can be registered in the system:
3333
- ``TLS_CREDENTIAL_PSK``
3434
- ``TLS_CREDENTIAL_PSK_ID``
3535

36-
An example registeration of CA certificate (provided in ``ca_certificate``
36+
An example registration of CA certificate (provided in ``ca_certificate``
3737
array) looks like this:
3838

3939
.. code-block:: c
@@ -71,7 +71,7 @@ CA certificate and hostname can be set:
7171
7272
ret = setsockopt(sock, SOL_TLS, TLS_HOSTNAME, host, sizeof(host));
7373
74-
Once configured, socket can be used just like a regualar TCP socket.
74+
Once configured, socket can be used just like a regular TCP socket.
7575

7676
Several samples in Zephyr use secure sockets for communication. For a sample use
7777
see e.g. :ref:`sockets-echo-server-sample` or :ref:`sockets-http-get`.

include/atomic.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,7 @@ static inline bool atomic_test_bit(const atomic_t *target, int bit)
342342
* @param target Address of atomic variable or array.
343343
* @param bit Bit number (starting from 0).
344344
*
345-
* @return true if the bit was set, fale if it wasn't.
345+
* @return true if the bit was set, false if it wasn't.
346346
*/
347347
static inline bool atomic_test_and_clear_bit(atomic_t *target, int bit)
348348
{

include/console.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ ssize_t console_write(void *dummy, const void *buf, size_t size);
6363
* or console_getline().
6464
*
6565
* @return 0-255: a character read, including control characters.
66-
* <0: error occured.
66+
* <0: error occurred.
6767
*/
6868
int console_getchar(void);
6969

include/gna.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ struct gna_driver_api {
133133
* @param cfg Device configuration information
134134
*
135135
* @retval 0 If the configuration is successful
136-
* @retval A negative erro code in case of a failure.
136+
* @retval A negative error code in case of a failure.
137137
*/
138138
static inline int gna_configure(struct device *dev, struct gna_config *cfg)
139139
{
@@ -153,7 +153,7 @@ static inline int gna_configure(struct device *dev, struct gna_config *cfg)
153153
* @param model_handle Handle to the registered model if registration succeeds
154154
*
155155
* @retval 0 If registration of the model is successful.
156-
* @retval A negative erro code in case of a failure.
156+
* @retval A negative error code in case of a failure.
157157
*/
158158
static inline int gna_register_model(struct device *dev,
159159
struct gna_model_info *model, void **model_handle)
@@ -174,7 +174,7 @@ static inline int gna_register_model(struct device *dev,
174174
* @param model Model handle output by gna_register_model API
175175
*
176176
* @retval 0 If de-registration of the model is successful.
177-
* @retval A negative erro code in case of a failure.
177+
* @retval A negative error code in case of a failure.
178178
*/
179179
static inline int gna_deregister_model(struct device *dev, void *model)
180180
{
@@ -195,7 +195,7 @@ static inline int gna_deregister_model(struct device *dev, void *model)
195195
* @param callback A callback function to notify inference completion
196196
*
197197
* @retval 0 If the request is accepted
198-
* @retval A negative erro code in case of a failure.
198+
* @retval A negative error code in case of a failure.
199199
*/
200200
static inline int gna_infer(struct device *dev, struct gna_inference_req *req,
201201
gna_callback callback)

include/kernel.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2560,7 +2560,7 @@ static inline void k_work_submit_to_queue(struct k_work_q *work_q,
25602560
/**
25612561
* @brief Submit a work item to a user mode workqueue
25622562
*
2563-
* Sumbits a work item to a workqueue that runs in user mode. A temporary
2563+
* Submits a work item to a workqueue that runs in user mode. A temporary
25642564
* memory allocation is made from the caller's resource pool which is freed
25652565
* once the worker thread consumes the k_work item. The workqueue
25662566
* thread must have memory access to the k_work item being submitted. The caller

include/net/mqtt.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -582,7 +582,7 @@ int mqtt_subscribe(struct mqtt_client *client,
582582
const struct mqtt_subscription_list *param);
583583

584584
/**
585-
* @brief API to request unsubscribtion of one or more topics on the connection.
585+
* @brief API to request unsubscription of one or more topics on the connection.
586586
*
587587
* @param[in] client Identifies client instance for which the procedure is
588588
* requested. Shall not be NULL.

include/settings/settings.h

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ struct settings_handler {
6363
* Parameters:
6464
* - argc - count of item in argv, argv - array of pointers to keyword
6565
* names.
66-
* - value_ctx - pointer to the value contex which is used paramiter
66+
* - value_ctx - pointer to the value context which is used parameter
6767
* for data extracting routine (@ref settings_val_read_cb).
6868
*/
6969

@@ -196,16 +196,16 @@ int settings_commit(char *name);
196196
/**
197197
* Persistent data extracting routine.
198198
*
199-
* This function read and decode data from non volatile storage to user buffer
199+
* This function read and decode data from non-volatile storage to user buffer
200200
* This function should be used inside set handler in order to read the settings
201201
* data from backend storage.
202202
*
203-
* @param[in] value_ctx Data contex provided by the <p>h_set</p> handler.
203+
* @param[in] value_ctx Data context provided by the h_set handler.
204204
* @param[out] buf Buffer for data read.
205-
* @param[in] len Length of <p>buf</p>.
205+
* @param[in] len Length of @p buf.
206206
*
207207
* @retval Negative value on failure. 0 and positive: Length of data loaded to
208-
* the <p>buf</p>.
208+
* the @p buf.
209209
*/
210210
int settings_val_read_cb(void *value_ctx, void *buf, size_t len);
211211

@@ -214,7 +214,7 @@ int settings_val_read_cb(void *value_ctx, void *buf, size_t len);
214214
* This function should be used inside set handler in order to detect the
215215
* settings data length.
216216
*
217-
* @param[in] value_ctx Data contex provided by the <p>h_set</p> handler.
217+
* @param[in] value_ctx Data context provided by the h_set handler.
218218
*
219219
* @retval length of data.
220220
*/

0 commit comments

Comments
 (0)